Skip to content

Commit 23c919b

Browse files
authored
Rollup merge of #101584 - notriddle:notriddle/settings-menu, r=GuillaumeGomez
rustdoc: remove no-op CSS `#settings-menu { padding: 0 }` This CSS was added in 5e01ba3, and served to override CSS right above it that set a 5px padding for several kinds of buttons in the same toolbar: https://github.com/rust-lang/rust/blob/5e01ba36c9f1037c4cf3e7421413fc6c41f85d05/src/librustdoc/html/static/css/rustdoc.css#L1400-L1409 The CSS that it overrode is still there, but now it only applies to `#settings-menu > a`, so there's nothing to override. https://github.com/rust-lang/rust/blob/24d69920201563f0ee7b530f1cda0f171b205cc2/src/librustdoc/html/static/css/rustdoc.css#L1445-L1454
2 parents 52c7d7b + b9093f4 commit 23c919b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/librustdoc/html/static/css/rustdoc.css

+1-3
Original file line numberDiff line numberDiff line change
@@ -1444,9 +1444,7 @@ pre.rust {
14441444
border-radius: 2px;
14451445
cursor: pointer;
14461446
}
1447-
#settings-menu {
1448-
padding: 0;
1449-
}
1447+
14501448
#settings-menu > a, #help-button > button {
14511449
padding: 5px;
14521450
height: 100%;

0 commit comments

Comments
 (0)