diff --git a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs index 8a028b2ff..13e181efb 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/options/menus/layout_item.cljs @@ -353,7 +353,6 @@ (st/emit! (dwsl/update-layout-child ids {:layout-item-absolute (= value :absolute)}))))) ;; Z Index - on-change-z-index (mf/use-fn (mf/deps ids) @@ -382,19 +381,18 @@ [:& radio-button {:value "absolute" :id :absolute-position}]]] - (when is-absolute? - [:div {:class (stl/css :z-index-wrapper) - :title "z-index"} + [:div {:class (stl/css :z-index-wrapper) + :title "z-index"} - [:span {:class (stl/css :icon-text)} - "Z"] - [:> numeric-input* - {:className (stl/css :numeric-input) - :placeholder "--" - :on-focus #(dom/select-target %) - :on-change #(on-change-z-index %) - :nillable true - :value (:layout-item-z-index values)}]])]) + [:span {:class (stl/css :icon-text)} + "Z"] + [:> numeric-input* + {:className (stl/css :numeric-input) + :placeholder "--" + :on-focus #(dom/select-target %) + :on-change #(on-change-z-index %) + :nillable true + :value (:layout-item-z-index values)}]]]) [:div {:class (stl/css :row)} [:& element-behaviour {:fill? is-layout-child?