From cc68a396e51d5fc775040814396562df28dee694 Mon Sep 17 00:00:00 2001 From: Georgy Malkov Date: Fri, 24 Nov 2023 12:07:23 +0300 Subject: [PATCH] fix: top margin aside --- src/components/AsideHeader/AsideHeader.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/AsideHeader/AsideHeader.scss b/src/components/AsideHeader/AsideHeader.scss index d6908b4..c9ede93 100644 --- a/src/components/AsideHeader/AsideHeader.scss +++ b/src/components/AsideHeader/AsideHeader.scss @@ -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; @@ -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;