Browse Source

fixed sidebar margin top false with layout(-*)-navbar-not-fixed

pull/2256/head
REJack 5 years ago
parent
commit
d37b7e6af8
No known key found for this signature in database
GPG Key ID: 9F3976CC630CC888
  1. 11
      build/scss/_layout.scss

11
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;
}
}
}
}

Loading…
Cancel
Save