0
Fork 0
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:
Alejandro 2023-02-24 12:05:56 +01:00 committed by GitHub
commit 8aa0e96377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 45 deletions

View file

@ -40,7 +40,7 @@
width: 18px;
height: 18px;
fill: $color-gray-20;
fill-opacity: 0.3;
fill-opacity: 0.5;
}
}
}

View file

@ -246,6 +246,7 @@
height: 100%;
width: 100%;
overflow-y: auto;
overflow-x: hidden;
&.inspect {
.tab-container-tabs {

View file

@ -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}]]])]]])]]))