Skip to content

Commit c5dcb6d

Browse files
authored
Unrolled build for rust-lang#139282
Rollup merge of rust-lang#139282 - lolbinarycat:rustdoc-settings-checkbox-noshrink, r=notriddle rustdoc: make settings checkboxes always square Previously, checkboxes would flex horizontally on small screens: ![Screenshot 2025-04-02 at 15-45-13 std - Rust](https://github.com/user-attachments/assets/405dc764-3c04-4ba4-b86c-19e9d4fc0bff) this simple css tweak fixes this.
2 parents 946aea0 + 33c1ff0 commit c5dcb6d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

+3
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,9 @@ so that we can apply CSS-filters to change the arrow color in themes */
14461446
align-items: center;
14471447
cursor: pointer;
14481448
}
1449+
.setting-check input {
1450+
flex-shrink: 0,
1451+
}
14491452

14501453
.setting-radio input:checked {
14511454
box-shadow: inset 0 0 0 3px var(--main-background-color);

0 commit comments

Comments
 (0)