From 11c2a74e721e0b31f2ff2ff32c738d41c939fc9d Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 7 Apr 2021 01:45:52 +0200 Subject: [PATCH] fix layout height with borderless navbar/brand-link --- build/scss/_layout.scss | 3 +++ build/scss/_main-sidebar.scss | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/build/scss/_layout.scss b/build/scss/_layout.scss index 0825ab391..494ac239c 100644 --- a/build/scss/_layout.scss +++ b/build/scss/_layout.scss @@ -160,6 +160,9 @@ body, } } + .main-header.border-bottom-0 ~ .content-wrapper { + margin-top: $main-header-height-inner; + } .content-wrapper { margin-top: $main-header-height; } diff --git a/build/scss/_main-sidebar.scss b/build/scss/_main-sidebar.scss index 2cb4daff9..acd602c30 100644 --- a/build/scss/_main-sidebar.scss +++ b/build/scss/_main-sidebar.scss @@ -31,6 +31,10 @@ &:hover { @include scrollbar-width-thin(); } + + .brand-link.border-bottom-0 ~ & { + height: calc(100% - #{$main-header-height-inner}); + } } // Sidebar user panel