mirror of
https://github.com/penpot/penpot.git
synced 2025-02-04 13:29:14 -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;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
fill: $color-gray-20;
|
fill: $color-gray-20;
|
||||||
fill-opacity: 0.3;
|
fill-opacity: 0.5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,7 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
overflow-x: hidden;
|
||||||
|
|
||||||
&.inspect {
|
&.inspect {
|
||||||
.tab-container-tabs {
|
.tab-container-tabs {
|
||||||
|
|
|
@ -234,6 +234,8 @@
|
||||||
: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))
|
||||||
|
[:*
|
||||||
[:div.layout-row
|
[:div.layout-row
|
||||||
[:div.row-title.sizing "Sizing"]
|
[:div.row-title.sizing "Sizing"]
|
||||||
[:& element-behavior {:is-layout-child? is-layout-child?
|
[:& element-behavior {:is-layout-child? is-layout-child?
|
||||||
|
@ -281,4 +283,4 @@
|
||||||
:on-click #(dom/select-target %)
|
:on-click #(dom/select-target %)
|
||||||
:on-change (partial on-size-change item)
|
:on-change (partial on-size-change item)
|
||||||
:value (get values item)
|
:value (get values item)
|
||||||
:nillable true}]]])]]]]))
|
:nillable true}]]])]]])]]))
|
||||||
|
|
Loading…
Add table
Reference in a new issue