mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐛 Fix absolute positioned layouts not showing flex properties
This commit is contained in:
parent
0f60f115f5
commit
e1faba2ddc
2 changed files with 49 additions and 47 deletions
|
@ -84,6 +84,7 @@
|
|||
- Fix undo when updating several texts [Taiga #5197](https://tree.taiga.io/project/penpot/issue/5197)
|
||||
- Fix assets right click button for multiple selection [Taiga #5545](https://tree.taiga.io/project/penpot/issue/5545)
|
||||
- Fix problem with precision in resizes [Taiga #5623](https://tree.taiga.io/project/penpot/issue/5623)
|
||||
- Fix absolute positioned layouts not showing flex properties [Taiga #5630](https://tree.taiga.io/project/penpot/issue/5630)
|
||||
|
||||
### :arrow_up: Deps updates
|
||||
|
||||
|
|
|
@ -227,7 +227,9 @@
|
|||
|
||||
on-change-z-index
|
||||
(fn [value]
|
||||
(st/emit! (dwsl/update-layout-child ids {:layout-item-z-index value})))]
|
||||
(st/emit! (dwsl/update-layout-child ids {:layout-item-z-index value})))
|
||||
|
||||
is-layout-child? (and is-layout-child? (not is-absolute?))]
|
||||
|
||||
[:div.element-set
|
||||
[:div.element-set-title
|
||||
|
@ -236,7 +238,7 @@
|
|||
"Flex element")]]
|
||||
|
||||
[:div.element-set-content.layout-item-menu
|
||||
(when is-layout-child?
|
||||
(when (or is-layout-child? is-absolute?)
|
||||
[:div.layout-row
|
||||
[:div.row-title.sizing "Position"]
|
||||
[:div.btn-wrapper
|
||||
|
@ -262,7 +264,6 @@
|
|||
:disabled (not is-absolute?)
|
||||
:value (:layout-item-z-index values)}]]]])
|
||||
|
||||
(when (not (:layout-item-absolute values))
|
||||
[:*
|
||||
[:div.layout-row
|
||||
[:div.row-title.sizing "Sizing"]
|
||||
|
@ -311,4 +312,4 @@
|
|||
:on-focus #(dom/select-target %)
|
||||
:on-change (partial on-size-change item)
|
||||
:value (get values item)
|
||||
:nillable true}]]])]]])]]))
|
||||
:nillable true}]]])]]]]]))
|
||||
|
|
Loading…
Reference in a new issue