File tree Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Expand file tree Collapse file tree 2 files changed +29
-5
lines changed Original file line number Diff line number Diff line change 3
3
margin-left : map_get ($spacers , 4 );
4
4
5
5
@media (min-width : 1750px ) {
6
- margin-top : 6rem ;
7
6
margin-left : -20rem ;
8
7
margin-bottom : 0 ;
9
- position : fixed ;
10
- border-right : 1px solid $separater-color ;
11
- padding-right : map_get ($spacers , 3 );
8
+ position : sticky ;
12
9
width : 18rem ;
10
+ height : 0 ;
11
+ top : 2rem ;
13
12
text-align : right ;
14
13
}
15
14
20
19
& __headline {
21
20
color : $text-color-reduced ;
22
21
margin : 0 0 map_get ($spacers , 2 );
22
+ padding-right : map_get ($spacers , 3 );
23
23
font-size : $font-size-base ;
24
24
}
25
25
28
28
padding-left : 0 ;
29
29
margin-bottom : 0 ;
30
30
font-size : $font-size-base * 0.9 ;
31
+ border-right : 1px solid $separater-color ;
32
+
33
+ @media (min-width : 1750px ) {
34
+ padding-right : map_get ($spacers , 3 );
35
+ max-height : calc (100vh - 400px );
36
+ min-height : 100px ;
37
+ overflow-x : hidden ;
38
+ overflow-y : auto ;
39
+ }
40
+
41
+ scrollbar-color : darken ($separater-color , 30% ) $separater-color ;
42
+ scrollbar-width : thin ;
43
+
44
+ & ::-webkit-scrollbar {
45
+ width : 5px ;
46
+
47
+ & -track {
48
+ background : $separater-color ;
49
+ }
50
+
51
+ & -thumb {
52
+ background : darken ($separater-color , 30% );
53
+ }
54
+ }
31
55
32
56
& -item {
33
57
border : none ;
You can’t perform that action at this time.
0 commit comments