Skip to content

Commit 9d118c5

Browse files
Fix settings display on small screen size
1 parent 7f93d4a commit 9d118c5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustdoc/html/static/css/settings.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@
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;
@@ -58,6 +56,7 @@
5856
.slider {
5957
position: relative;
6058
width: 45px;
59+
min-width: 45px;
6160
display: block;
6261
height: 28px;
6362
margin-right: 20px;

0 commit comments

Comments
 (0)