diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-07-17 14:33:10 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2024-07-18 20:48:20 +0200 |
| commit | fed059270a2fda61b7ea7393ed7b3f78d33fad32 (patch) | |
| tree | e29b677b9327d83b802e300d961f7127252e0240 /src/librustdoc/html/static | |
| parent | 52f3c71c8dc4aaed71e3035995fcbdd6d78c98c6 (diff) | |
| download | rust-fed059270a2fda61b7ea7393ed7b3f78d33fad32.tar.gz rust-fed059270a2fda61b7ea7393ed7b3f78d33fad32.zip | |
Wrap too long item name and improve the item list display a bit
Diffstat (limited to 'src/librustdoc/html/static')
| -rw-r--r-- | src/librustdoc/html/static/css/rustdoc.css | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css index cb8b82e8bde..a305335e0b3 100644 --- a/src/librustdoc/html/static/css/rustdoc.css +++ b/src/librustdoc/html/static/css/rustdoc.css @@ -2174,6 +2174,14 @@ in src-script.js and main.js padding: 2px 4px; box-shadow: 0 0 4px var(--main-background-color); } + + .item-table > li > .item-name { + width: 33%; + } + .item-table > li > div { + padding-bottom: 5px; + word-break: break-all; + } } @media print { |
