File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -176,11 +176,14 @@ body {
176
176
177
177
.navbar-sub {
178
178
display : block;
179
- position : relative;
180
179
background-color : var (--color-brand-primary );
181
180
padding : 5px 15px 5px 0 ;
182
181
transition : all 0.5s ;
183
- height : 42px ;
182
+ height : var (--navbar-sub-height );
183
+ position : fixed;
184
+ top : var (--navbar-height );
185
+ width : 100% ;
186
+ z-index : var (--z-index-navbar );
184
187
/* overflow: hidden; */
185
188
}
186
189
Original file line number Diff line number Diff line change 121
121
--footer-link-font-color : var (--color-smoke-70 );
122
122
/* dimensions and positioning */
123
123
--navbar-height : calc (73 / var (--rem-base ) * 1rem );
124
+ --navbar-sub-height : calc (45 / var (--rem-base ) * 1rem );
124
125
--toolbar-height : calc (45 / var (--rem-base ) * 1rem );
125
126
--drawer-height : var (--toolbar-height );
126
- --body-top : var (--navbar-height );
127
+ --body-top : calc ( var (--navbar-height ) + var ( --navbar-sub-height ) );
127
128
--body-min-height : calc (100vh - var (--body-top ));
128
129
--nav-height : calc (var (--body-min-height ) - var (--toolbar-height ));
129
130
--nav-height--desktop : var (--body-min-height );
You can’t perform that action at this time.
0 commit comments