mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 08:29:42 -05:00
Merge pull request #2979 from penpot/alotor-small-fixes-absolute
🐛 Fix problems with position absolute
This commit is contained in:
commit
8aa0e96377
3 changed files with 48 additions and 45 deletions
|
@ -40,7 +40,7 @@
|
|||
width: 18px;
|
||||
height: 18px;
|
||||
fill: $color-gray-20;
|
||||
fill-opacity: 0.3;
|
||||
fill-opacity: 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -246,6 +246,7 @@
|
|||
height: 100%;
|
||||
width: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
|
||||
&.inspect {
|
||||
.tab-container-tabs {
|
||||
|
|
|
@ -234,6 +234,8 @@
|
|||
:on-change #(on-change-z-index %)
|
||||
:value (:layout-item-z-index values)}]]]]
|
||||
|
||||
(when (not (:layout-item-absolute values))
|
||||
[:*
|
||||
[:div.layout-row
|
||||
[:div.row-title.sizing "Sizing"]
|
||||
[:& element-behavior {:is-layout-child? is-layout-child?
|
||||
|
@ -281,4 +283,4 @@
|
|||
:on-click #(dom/select-target %)
|
||||
:on-change (partial on-size-change item)
|
||||
:value (get values item)
|
||||
:nillable true}]]])]]]]))
|
||||
:nillable true}]]])]]])]]))
|
||||
|
|
Loading…
Add table
Reference in a new issue