File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 7
7
@include media-breakpoint-down (lg){
8
8
padding : 0 $navbar-mobile-padding-y 0 ;
9
9
}
10
- min-height : 80 px ;
10
+ min-height : $navbar-min-height ;
11
11
align-items : stretch ;
12
12
13
13
a .navbar-brand {
Original file line number Diff line number Diff line change 1
1
.sgds {
2
2
& .sidenav {
3
3
-- #{$prefix } sidenav-width : #{$sidenav-width } ;
4
- -- #{$prefix } sidenav-font-size : #{$sidenav-fontsize } ;
4
+ -- #{$prefix } sidenav-font-size : #{$sidenav-fontsize } ;
5
5
width : var (--#{$prefix}sidenav-width );
6
6
font-size : var (--#{$prefix}sidenav-font-size );
7
7
85
85
}
86
86
}
87
87
& .sticky {
88
- -- #{$prefix } sidenav-sticky-top : 0rem ;
88
+ -- #{$prefix } sidenav-sticky-top : calc (
89
+ #{$navbar-min-height } + #{$masthead-height }
90
+ );
89
91
position : sticky ;
90
92
max-height : calc (100vh - var (--#{$prefix}sidenav-sticky-top ));
91
93
top : var (--#{$prefix}sidenav-sticky-top );
Original file line number Diff line number Diff line change @@ -1201,6 +1201,7 @@ $nav-pills-link-active-bg: $component-active-bg !default;
1201
1201
$navbar-padding-y : $spacer * 2 !default ;
1202
1202
$navbar-mobile-padding-y : $spacer !default ;
1203
1203
$navbar-padding-x : null !default ;
1204
+ $navbar-min-height : 80px ;
1204
1205
1205
1206
$navbar-nav-link-padding-x : .5rem !default ;
1206
1207
$navbar-border-bottom-height : .125rem !default ;
@@ -1241,6 +1242,7 @@ $navbar-dark-brand-color: $navbar-dark-active-color !default;
1241
1242
$navbar-dark-brand-hover-color : $navbar-dark-active-color !default ;
1242
1243
// scss-docs-end navbar-theme-variables
1243
1244
1245
+ $masthead-height : 28px ;
1244
1246
1245
1247
1246
1248
// Dropdowns
You can’t perform that action at this time.
0 commit comments