mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
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:
5ce39f42bd/tests/rustdoc-gui/settings.goml (L123)
This commit is contained in:
commit
34d4df5bd5
@ -3,11 +3,6 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.setting-line .choices {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.setting-line .radio-line input,
|
||||
.setting-line .settings-toggle input {
|
||||
margin-right: 0.3em;
|
||||
@ -38,7 +33,7 @@
|
||||
margin-bottom: 0.1em;
|
||||
min-width: 3.8em;
|
||||
padding: 0.3em;
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user