mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 04:06:13 +02:00
🐛 Fix position absolute showing on first-level flex containers
This commit is contained in:
parent
8aa0e96377
commit
e9942e5527
1 changed files with 22 additions and 21 deletions
|
@ -211,6 +211,7 @@
|
||||||
"Flex element")]]
|
"Flex element")]]
|
||||||
|
|
||||||
[:div.element-set-content.layout-item-menu
|
[:div.element-set-content.layout-item-menu
|
||||||
|
(when is-layout-child?
|
||||||
[:div.layout-row
|
[:div.layout-row
|
||||||
[:div.row-title.sizing "Position"]
|
[:div.row-title.sizing "Position"]
|
||||||
[:div.btn-wrapper
|
[:div.btn-wrapper
|
||||||
|
@ -232,7 +233,7 @@
|
||||||
{:placeholder "--"
|
{:placeholder "--"
|
||||||
:on-click #(dom/select-target %)
|
:on-click #(dom/select-target %)
|
||||||
:on-change #(on-change-z-index %)
|
:on-change #(on-change-z-index %)
|
||||||
:value (:layout-item-z-index values)}]]]]
|
:value (:layout-item-z-index values)}]]]])
|
||||||
|
|
||||||
(when (not (:layout-item-absolute values))
|
(when (not (:layout-item-absolute values))
|
||||||
[:*
|
[:*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue