Skip to content

Commit 112d85c

Browse files
committed
rustdoc: use CSS inline layout for radio line instead of flexbox
This uses less code to lay them out the same way.
1 parent a6269da commit 112d85c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: src/librustdoc/html/static/css/settings.css

+1-6
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
position: relative;
44
}
55

6-
.setting-line .choices {
7-
display: flex;
8-
flex-wrap: wrap;
9-
}
10-
116
.setting-line .radio-line input,
127
.setting-line .settings-toggle input {
138
margin-right: 0.3em;
@@ -38,7 +33,7 @@
3833
margin-bottom: 0.1em;
3934
min-width: 3.8em;
4035
padding: 0.3em;
41-
display: flex;
36+
display: inline-flex;
4237
align-items: center;
4338
cursor: pointer;
4439
}

0 commit comments

Comments
 (0)