Unverified Commit 273e8cf8 authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub

fix: Sidebar Header height (#344)

parent 35ab50a8
......@@ -3,6 +3,7 @@
@use '../../styles/typography.scss';
@import '../../styles/mixins/all.scss';
$sidebar-header-height: theme('sidebar-header-height', theme('header-height', lengths.size(64)));
$sidebar-item-background-color: theme('sidebar-item-background-color', colors.surface());
$sidebar-item-color: theme('sidebar-item-color', colors.foreground('hint'));
$sidebar-item-color-highlighted: theme('sidebar-item-color-highlighted', colors.foreground('alternative'));
......@@ -35,6 +36,11 @@ $sidebar-item-color-selected: theme('sidebar-item-color-selected', colors.foregr
.rcx-sidebar {
&-topbar {
display: flex;
flex-direction: column;
height: $sidebar-header-height;
color: $sidebar-item-color;
&--section {
......@@ -46,6 +52,8 @@ $sidebar-item-color-selected: theme('sidebar-item-color-selected', colors.foregr
justify-content: space-between;
align-items: center;
flex-grow: 1;
padding-block: lengths.padding(16);
padding-inline: lengths.padding(16);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment