mirror of
https://github.com/penpot/penpot.git
synced 2026-03-19 17:03:44 +00:00
🐛 Fix visual bug for scrolls on inspect mode
This commit is contained in:
committed by
Andrey Antukh
parent
05d0d2550a
commit
54db163cd8
@@ -109,7 +109,9 @@
|
||||
[:span {:class (stl/css :layer-title)} (:name first-shape)]])]
|
||||
[:div {:class (stl/css :inspect-content)}
|
||||
[:& tab-container {:on-change-tab handle-change-tab
|
||||
:selected @section}
|
||||
:selected @section
|
||||
:content-class (stl/css :tab-content)
|
||||
:header-class (stl/css :tab-header)}
|
||||
[:& tab-element {:id :info :title (tr "inspect.tabs.info")}
|
||||
[:& attributes {:page-id page-id
|
||||
:objects objects
|
||||
|
||||
@@ -96,3 +96,11 @@
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.tab-header {
|
||||
margin-right: $s-12;
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
{:on-change-tab on-change-tab
|
||||
:selected section
|
||||
:collapsable false
|
||||
:content-class (stl/css :content-class)
|
||||
:content-class (stl/css-case :content-class true :inspect (= section :inspect))
|
||||
:header-class (stl/css :tab-spacing)}
|
||||
[:& tab-element {:id :design
|
||||
:title (tr "workspace.options.design")}
|
||||
|
||||
@@ -34,3 +34,7 @@
|
||||
gap: $s-8;
|
||||
padding-top: $s-8;
|
||||
}
|
||||
|
||||
.inspect {
|
||||
scrollbar-gutter: unset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user