File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
@media screen and (min-width : 1024px ) {
9
9
.page-versions {
10
- display : block;
10
+ display : flex;
11
+ justify-content : flex-end;
11
12
}
12
13
}
13
14
24
25
z-index : var (--z-index-page-version-menu );
25
26
}
26
27
27
- .page-versions .version-menu {
28
- border : 1px solid transparent;
28
+ .page-versions .is-active .version-menu-toggle {
29
29
background-color : var (--page-version-menu-background );
30
+ }
31
+
32
+ .page-versions .version-menu {
33
+ flex : 1 1 auto;
34
+ display : flex;
35
+ min-width : 100% ;
36
+ flex-direction : column;
37
+ background : linear-gradient (to bottom, var (--page-version-menu-background ) 0% , var (--page-version-menu-background ) 100% ) no-repeat;
38
+ background-position : 100% 1.75em ;
30
39
padding : 1.25rem 0.5rem 0.5rem ;
31
40
position : absolute;
32
41
top : 0 ;
33
- left : 0 ;
34
- width : 100 % ;
42
+ right : 0 ;
43
+ white-space : nowrap ;
35
44
}
36
45
37
46
.page-versions : not (.is-active ) .version-menu {
43
52
padding-top : 0.5rem ;
44
53
}
45
54
55
+ .page-versions .version : first-child {
56
+ margin-top : 0.25rem ;
57
+ }
58
+
46
59
.page-versions .version .is-current {
47
60
display : none;
48
61
}
You can’t perform that action at this time.
0 commit comments