Skip to content

Commit

Permalink
rustdoc: use CSS inline layout for radio line instead of flexbox
Browse files Browse the repository at this point in the history
This uses less code to lay them out the same way.
  • Loading branch information
notriddle committed Jan 20, 2023
1 parent a6269da commit 112d85c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/librustdoc/html/static/css/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 112d85c

Please sign in to comment.