mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
🐛 On variant create do not set sizing
This commit is contained in:
parent
e1a1110f06
commit
6af8940a46
@ -380,16 +380,12 @@
|
|||||||
:layout-item-v-sizing :auto
|
:layout-item-v-sizing :auto
|
||||||
:layout-padding {:p1 30 :p2 30 :p3 30 :p4 30}
|
:layout-padding {:p1 30 :p2 30 :p3 30 :p4 30}
|
||||||
:layout-gap {:row-gap 0 :column-gap 20}}
|
:layout-gap {:row-gap 0 :column-gap 20}}
|
||||||
cont-props (if flex?
|
cont-props (if flex?
|
||||||
(into base-props flex-props)
|
(into base-props flex-props)
|
||||||
base-props)
|
base-props)
|
||||||
m-base-props {:name name
|
main-props {:name name
|
||||||
:variant-id variant-id}
|
:variant-id variant-id}
|
||||||
m-flex-props {:layout-item-h-sizing :fix
|
|
||||||
:layout-item-v-sizing :fix}
|
|
||||||
main-props (if flex?
|
|
||||||
(into m-base-props m-flex-props)
|
|
||||||
m-base-props)
|
|
||||||
stroke-props {:stroke-alignment :inner
|
stroke-props {:stroke-alignment :inner
|
||||||
:stroke-style :solid
|
:stroke-style :solid
|
||||||
:stroke-color "#bb97d8" ;; todo use color var?
|
:stroke-color "#bb97d8" ;; todo use color var?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user