diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-21 10:48:57 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-21 10:48:57 -0700 |
| commit | bf6bb01a22ee82f96256e84d263c851dd163b1fb (patch) | |
| tree | 896d4b2df6d1da7e48a0e10e7afc3572d558fece /src | |
| parent | a25bbcc27fcbddb005b3025086f87940937b7619 (diff) | |
| download | rust-bf6bb01a22ee82f96256e84d263c851dd163b1fb.tar.gz rust-bf6bb01a22ee82f96256e84d263c851dd163b1fb.zip | |
rustdoc: Don't overflow long type/module names
Closes #9862
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustdoc/html/static/main.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/librustdoc/html/static/main.css b/src/librustdoc/html/static/main.css index f24110a62eb..eea776c1156 100644 --- a/src/librustdoc/html/static/main.css +++ b/src/librustdoc/html/static/main.css @@ -110,6 +110,13 @@ body { margin-bottom: 10px; } .block h2 { margin-top: 0; } +.block a { + display: inline-block; + width: 100%; + text-overflow: ellipsis; + overflow: hidden; + line-height: 15px; +} .content { background: #f3f3f3; |
