Skip to content

Commit bf6bb01

Browse files
committed
rustdoc: Don't overflow long type/module names
Closes #9862
1 parent a25bbcc commit bf6bb01

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/librustdoc/html/static/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,13 @@ body {
110110
margin-bottom: 10px;
111111
}
112112
.block h2 { margin-top: 0; }
113+
.block a {
114+
display: inline-block;
115+
width: 100%;
116+
text-overflow: ellipsis;
117+
overflow: hidden;
118+
line-height: 15px;
119+
}
113120

114121
.content {
115122
background: #f3f3f3;

0 commit comments

Comments
 (0)