0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-01 20:09:04 -05:00

ad sets-section wrapper

This commit is contained in:
Akshay Gupta 2024-08-20 16:57:53 +05:30
parent f052b75dac
commit feb5cec84b
No known key found for this signature in database
2 changed files with 14 additions and 13 deletions

View file

@ -193,10 +193,11 @@
::mf/wrap-props false} ::mf/wrap-props false}
[_props] [_props]
[:div {:class (stl/css :sidebar-tab-wrapper)} [:div {:class (stl/css :sidebar-tab-wrapper)}
[:& sets-sidebar] [:div {:class (stl/css :sets-section-wrapper)}
[:div {:class (stl/css :tokens-section-wrapper)} [:& sets-sidebar]]
[:& tokens-explorer]] [:div {:class (stl/css :tokens-section-wrapper)}
[:button {:class (stl/css :download-json-button) [:& tokens-explorer]]
:on-click wtc/download-tokens-as-json} [:button {:class (stl/css :download-json-button)
download-icon :on-click wtc/download-tokens-as-json}
"Export JSON"]]) download-icon
"Export JSON"]])

View file

@ -14,14 +14,14 @@
overflow: hidden; overflow: hidden;
} }
.sets-sidebar { .sets-section-wrapper {
position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
flex: 1; margin-bottom: $s-8;
width: 100%; }
height: var(--height, $s-200);
overflow-y: auto; .sets-sidebar {
position: relative;
} }
.sidebar-header { .sidebar-header {