Commit e005d04
authored
Rollup merge of rust-lang#105086 - notriddle:notriddle/sidebar-css, r=GuillaumeGomez
rustdoc: clean up sidebar link CSS
Group `text-overflow: ellipses` along with `white-space: nowrap`. It makes no sense to try to apply it to links with `overflow-wrap: anywhere`, because it can't actually make ellipses when that's turned on.
Simplify the selector for the 25rem left padding on sidebar links, to match up with the style for the container left padding that makes room for it.1 file changed
+5
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
480 | 480 | | |
481 | 481 | | |
482 | 482 | | |
483 | | - | |
484 | | - | |
485 | | - | |
| 483 | + | |
| 484 | + | |
486 | 485 | | |
487 | | - | |
| 486 | + | |
488 | 487 | | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | 488 | | |
493 | 489 | | |
494 | 490 | | |
| |||
522 | 518 | | |
523 | 519 | | |
524 | 520 | | |
| 521 | + | |
| 522 | + | |
525 | 523 | | |
526 | 524 | | |
527 | 525 | | |
| |||
0 commit comments