Skip to content

Commit

Permalink
fix: top margin aside
Browse files Browse the repository at this point in the history
  • Loading branch information
goshander committed Nov 24, 2023
1 parent a87067c commit cc68a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/AsideHeader/AsideHeader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $block: '.#{variables.$ns}aside-header';

&__aside {
position: sticky;
top: var(--gn-aside-top-panel-height);
top: 0;
left: 0;
height: 100vh;
width: inherit;
Expand All @@ -46,6 +46,7 @@ $block: '.#{variables.$ns}aside-header';
background-color: var(--g-color-base-background);
z-index: 100;
max-height: calc(100vh - var(--gn-aside-top-panel-height));
margin-top: var(--gn-aside-top-panel-height);

box-sizing: border-box;

Expand Down

0 comments on commit cc68a39

Please sign in to comment.