From d37b7e6af80460852b99d830d953e46b342bee4f Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 11 Sep 2019 14:38:53 +0200 Subject: [PATCH] fixed sidebar margin top false with layout(-*)-navbar-not-fixed --- build/scss/_layout.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/build/scss/_layout.scss b/build/scss/_layout.scss index 915f17ef1..da764017a 100644 --- a/build/scss/_layout.scss +++ b/build/scss/_layout.scss @@ -132,6 +132,12 @@ body, } } + .layout-navbar-not-fixed.layout-fixed & { + .sidebar { + margin-top: 0; + } + } + @each $breakpoint in map-keys($grid-breakpoints) { @include media-breakpoint-up($breakpoint) { $infix: breakpoint-infix($breakpoint, $grid-breakpoints); @@ -236,6 +242,11 @@ body, } } + .layout#{$infix}-navbar-not-fixed.layout-fixed & { + .sidebar { + margin-top: 0; + } + } } }