File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -688,10 +688,6 @@ prism-code {
688
688
max-width : 100% ;
689
689
}
690
690
691
- #__docusaurus {
692
- height : 100% ;
693
- }
694
-
695
691
.navbar {
696
692
flex : 0 0 var (--ifm-navbar-height );
697
693
background : var (--click-color-background );
Original file line number Diff line number Diff line change 1
1
@use ' ../../../css/breakpoints.scss' as breakpoints ;
2
2
3
- .sidebarSearchContainer {
4
- margin-top : 6rem !important ;
5
- }
6
-
7
3
@media (min-width : breakpoints .$mobile-breakpoint ) {
8
4
9
5
.sidebar {
6
+ position : fixed ;
7
+ top : 4rem ;
8
+ overflow : auto ;
9
+ left : 0 ;
10
10
display : flex ;
11
11
flex-direction : column ;
12
- height : 100% ;
13
12
width : var (--doc-sidebar-width );
14
13
max-width : 100% ;
14
+ height : calc (100% - 3.5rem );
15
15
}
16
16
17
17
.sidebarWithHideableNavbar {
44
44
}
45
45
46
46
.sidebarSearchContainer {
47
- margin-top : 2rem ;
48
47
padding : 0 1rem ;
48
+ margin-top : 1.5rem ;
49
49
}
50
50
51
51
@media (min-width : breakpoints .$laptop-breakpoint ) {
52
52
.sidebarSearchContainer {
53
- margin-top : calc ( var ( --ifm-navbar-height ) + 2 rem ) !important ;
53
+ margin-top : 5 rem !important ;
54
54
}
55
55
}
You can’t perform that action at this time.
0 commit comments