mirror of
https://github.com/penpot/penpot.git
synced 2025-02-24 07:46:13 -05:00
🐛 Fix radio button component
This commit is contained in:
parent
34f1f3d103
commit
aed5388bfd
1 changed files with 1 additions and 4 deletions
|
@ -36,7 +36,7 @@
|
||||||
encode-fn (unchecked-get context "encode-fn")
|
encode-fn (unchecked-get context "encode-fn")
|
||||||
checked? (= selected value)]
|
checked? (= selected value)]
|
||||||
|
|
||||||
[:label {:for id
|
[:label {:html-for id
|
||||||
:title title
|
:title title
|
||||||
:key unique-key
|
:key unique-key
|
||||||
:class (stl/css-case
|
:class (stl/css-case
|
||||||
|
@ -104,6 +104,3 @@
|
||||||
[:div {:class (dm/str class " " (stl/css :radio-btn-wrapper))
|
[:div {:class (dm/str class " " (stl/css :radio-btn-wrapper))
|
||||||
:style {:width width}}
|
:style {:width width}}
|
||||||
children]]))
|
children]]))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue