Skip to content

Commit

Permalink
Change sub-setting CSS class to sub-settings
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 4, 2019
1 parent 79956b9 commit 8784b07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ impl Setting {
format!(
"<div class='setting-line'>\
<div class='title'>{}</div>\
<div class='sub-setting'>{}</div>
<div class='sub-settings'>{}</div>
</div>",
description,
sub_settings.iter().map(|s| s.display()).collect::<String>()
Expand Down
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/settings.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ input:checked + .slider:before {
transform: translateX(19px);
}

.setting-line > .sub-setting {
.setting-line > .sub-settings {
padding-left: 42px;
width: 100%;
display: block;
Expand Down

0 comments on commit 8784b07

Please sign in to comment.