File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 19
19
font-size : calc (15.5 / var (--rem-base ) * 1rem );
20
20
flex : none;
21
21
position : static;
22
+ /* top: calc(var(--navbar-height) + var(--navbar-sub-height)); */
22
23
top : 0 ;
24
+ /* margin-top: var(--navbar-sub-height); */
23
25
visibility : visible;
24
26
}
25
27
}
32
34
background : var (--nav-background );
33
35
position : relative;
34
36
top : var (--toolbar-height );
35
- height : var (--nav- height );
37
+ height : calc ( 100 % - var (--navbar-sub- height ) );
36
38
}
37
39
38
40
@media screen and (min-width : 769px ) {
43
45
44
46
@media screen and (min-width : 1024px ) {
45
47
.nav {
46
- top : var (--navbar-height );
48
+ top : calc ( var (--navbar-height ) + var ( --navbar-sub-height ) );
47
49
box-shadow : none;
48
50
position : sticky;
49
- height : var (--nav-height--desktop );
51
+ height : calc (100vh - var (--navbar-sub-height ) - var (--navbar-height ));
52
+ margin-top : var (--navbar-sub-height );
50
53
}
51
54
}
52
55
@@ -63,7 +66,7 @@ html.is-clipped--nav {
63
66
.nav-panel-menu {
64
67
overflow-y : scroll;
65
68
overscroll-behavior : none;
66
- height : var ( --nav-panel-menu-height ) ;
69
+ height : 100 % ;
67
70
}
68
71
69
72
.nav-panel-menu : not (.is-active ) .nav-menu {
Original file line number Diff line number Diff line change 12
12
z-index : var (--z-index-toolbar );
13
13
}
14
14
15
+ @media screen and (min-width : 1024px ) {
16
+ .toolbar {
17
+ top : calc (var (--navbar-height ) + var (--navbar-sub-height ));
18
+ }
19
+ }
20
+
15
21
.toolbar a {
16
22
color : inherit;
17
23
}
You can’t perform that action at this time.
0 commit comments