1
Fork 0

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:
Michael Goulet 2023-01-20 21:33:24 -05:00 committed by GitHub
commit 34d4df5bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,6 @@
position: relative; position: relative;
} }
.setting-line .choices {
display: flex;
flex-wrap: wrap;
}
.setting-line .radio-line input, .setting-line .radio-line input,
.setting-line .settings-toggle input { .setting-line .settings-toggle input {
margin-right: 0.3em; margin-right: 0.3em;
@ -38,7 +33,7 @@
margin-bottom: 0.1em; margin-bottom: 0.1em;
min-width: 3.8em; min-width: 3.8em;
padding: 0.3em; padding: 0.3em;
display: flex; display: inline-flex;
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
} }