File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
librustdoc/html/static/css Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 4141
4242.toggle {
4343 position : relative;
44- display : inline-block;
4544 width : 100% ;
46- height : 27px ;
4745 margin-right : 20px ;
4846 display : flex;
4947 align-items : center;
5856.slider {
5957 position : relative;
6058 width : 45px ;
59+ min-width : 45px ;
6160 display : block;
6261 height : 28px ;
6362 margin-right : 20px ;
Original file line number Diff line number Diff line change @@ -147,3 +147,12 @@ assert-false: "noscript section"
147147javascript: false
148148reload:
149149assert-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