diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-25 23:06:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-25 23:06:01 +0100 |
| commit | c8999d9d91ebc10857b7e46dbda3b4f5b3d84f94 (patch) | |
| tree | bf2a947e7ae837f13f076f49c43978d4f1046a49 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 83cc776d7cdcb2bcd4ede77aed59b99582ec7b70 (diff) | |
| parent | abffd4af08ac3bc4ab91cfc83ad3055529e63d57 (diff) | |
| download | rust-c8999d9d91ebc10857b7e46dbda3b4f5b3d84f94.tar.gz rust-c8999d9d91ebc10857b7e46dbda3b4f5b3d84f94.zip | |
Rollup merge of #93286 - jsha:sidebar-nowrap, r=GuillaumeGomez
Add white-space: nowrap to links in the sidebar We already have overflow: hidden on these links, but if there is a possibility to wrap, they will wrap. This happens in particular for trait implementations because the punctuation (`<>, `) introduces opportunities for breaks. That produces inconsistent UI. Fix it by forcing them not to wrap. Demo: https://rustdoc.crud.net/jsha/sidebar-nowrap/std/string/struct.String.html To see the effect, scroll down to the "Trait Implementations" portion of the sidebar and look at IndexMut. Compare vs: https://doc.rust-lang.org/std/string/struct.String.html https://doc.rust-lang.org/nightly/std/string/struct.String.html r? `@camelid`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
