File tree 2 files changed +10
-2
lines changed
librustdoc/html/static/css
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 41
41
42
42
.toggle {
43
43
position : relative;
44
- display : inline-block;
45
44
width : 100% ;
46
- height : 27px ;
47
45
margin-right : 20px ;
48
46
display : flex;
49
47
align-items : center;
58
56
.slider {
59
57
position : relative;
60
58
width : 45px ;
59
+ min-width : 45px ;
61
60
display : block;
62
61
height : 28px ;
63
62
margin-right : 20px ;
Original file line number Diff line number Diff line change @@ -147,3 +147,12 @@ assert-false: "noscript section"
147
147
javascript: false
148
148
reload:
149
149
assert-css: ("noscript section", {"display": "block"})
150
+ javascript: true
151
+
152
+ // Check for the display on small screen
153
+ show-text: true
154
+ reload:
155
+ size: (300, 1000)
156
+ click: "#settings-menu"
157
+ wait-for: "#settings"
158
+ assert-css: ("#settings .slider", {"width": "45px"}, ALL)
You can’t perform that action at this time.
0 commit comments