🐛 Fix position absolute showing on first-level flex containers

This commit is contained in:
alonso.torres 2023-02-24 13:18:21 +01:00
parent 8aa0e96377
commit e9942e5527

View file

@ -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))
[:* [:*