mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 10:27:28 +02:00
🐛 Fix broken layout in some form fields
This commit is contained in:
parent
7b44f34b32
commit
5791a98c1c
4 changed files with 9 additions and 7 deletions
|
@ -66,7 +66,7 @@
|
|||
:type @type')
|
||||
(obj/clj->props))]
|
||||
|
||||
[:div.custom-input
|
||||
[:div.field.custom-input
|
||||
[:div.input-container {:class klass}
|
||||
[:div.main-content
|
||||
(when-not (str/empty? value)
|
||||
|
@ -102,7 +102,7 @@
|
|||
cvalue (d/seek #(= value (:value %)) options)
|
||||
on-change (fm/on-input-change form name)]
|
||||
|
||||
[:div.custom-select
|
||||
[:div.field.custom-select
|
||||
[:select {:value value
|
||||
:on-change on-change}
|
||||
(for [item options]
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
|
||||
[:div.element-set-content
|
||||
|
||||
[:div.row-flex
|
||||
[:div.row-flex.center
|
||||
[:div.presets.custom-select.flex-grow {:on-click #(reset! show-presets-dropdown? true)}
|
||||
[:span (tr "workspace.options.size-presets")]
|
||||
[:span.dropdown-button i/arrow-down]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue