0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -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}
[_props]
[:div {:class (stl/css :sidebar-tab-wrapper)}
[:& sets-sidebar]
[:div {:class (stl/css :tokens-section-wrapper)}
[:& tokens-explorer]]
[:button {:class (stl/css :download-json-button)
:on-click wtc/download-tokens-as-json}
download-icon
"Export JSON"]])
[:div {:class (stl/css :sets-section-wrapper)}
[:& sets-sidebar]]
[:div {:class (stl/css :tokens-section-wrapper)}
[:& tokens-explorer]]
[:button {:class (stl/css :download-json-button)
:on-click wtc/download-tokens-as-json}
download-icon
"Export JSON"]])

View file

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