File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -16,25 +16,31 @@ pre, code {
16
16
17
17
body :not (.close ) {
18
18
main {
19
- align-items : start ;
20
- display : grid ;
21
- grid-gap : 1rem ;
22
- grid-template-columns : $mobile-phone-width minmax (10px , 1fr );
19
+ display : flex ;
20
+ flex-direction : row ;
21
+
22
+ @media (max-width : $mobile-phone-width ) {
23
+ overflow-x : hidden ;
24
+ }
23
25
}
24
26
25
27
.sidebar {
26
- @extend .fr-sidemenu--sticky-full-height ;
27
28
background-color : var (--background-default-grey );
28
29
height : calc (100vh - 38px );
29
30
overflow : auto ;
30
31
overflow-y : scroll ;
32
+ position : sticky ;
33
+ top : 0 ;
34
+ width : $mobile-phone-width ;
35
+ flex-shrink : 0 ;
31
36
32
37
@media (max-width : $mobile-phone-width ) {
33
- height : 100% ;
34
- left : 0 ;
35
38
position : fixed ;
36
39
top : 0 ;
37
- z-index : 1000 ;
40
+ left : 0 ;
41
+ width : 100vw ;
42
+ height : 100vh ;
43
+ z-index : 20 ;
38
44
}
39
45
40
46
.app-name , .sidebar-nav {
@@ -92,7 +98,6 @@ body.close {
92
98
}
93
99
94
100
.sidebar-toggle {
95
- background : var (--background-default-grey );
96
101
bottom : 0 ;
97
102
left : 0 ;
98
103
padding : 10px ;
You can’t perform that action at this time.
0 commit comments