Skip to content

Commit 34d4df5

Browse files
Rollup merge of #107131 - notriddle:notriddle/rustdoc-radio-display-inline-flex, r=GuillaumeGomez
rustdoc: use CSS inline layout for radio line instead of flexbox This uses less code to lay them out the same way. Already tested here: https://github.com/rust-lang/rust/blob/5ce39f42bd2c8bca9c570f0560ebe1fce4eddb14/tests/rustdoc-gui/settings.goml#L123
2 parents a4f0126 + 112d85c commit 34d4df5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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)