Skip to content

Commit 9e5247b

Browse files
rustdoc: Correctly handle long crate names on mobile
1 parent 5bd5d21 commit 9e5247b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/librustdoc/html/static/css/rustdoc.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1943,13 +1943,8 @@ in src-script.js and main.js
19431943
pixels to avoid overflowing the topbar when the user sets a bigger
19441944
font size. */
19451945
font-size: 24px;
1946-
}
1947-
1948-
.mobile-topbar h2 a {
1949-
display: block;
1950-
text-overflow: ellipsis;
1951-
overflow: hidden;
19521946
white-space: nowrap;
1947+
text-overflow: ellipsis;
19531948
}
19541949

19551950
.mobile-topbar .logo-container > img {

0 commit comments

Comments
 (0)