We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd5d21 commit 83bfbbeCopy full SHA for 83bfbbe
src/librustdoc/html/static/css/rustdoc.css
@@ -1937,12 +1937,15 @@ in src-script.js and main.js
1937
.mobile-topbar h2 {
1938
padding-bottom: 0;
1939
margin: auto 0.5em auto auto;
1940
- overflow: hidden;
1941
/* Rare exception to specifying font sizes in rem. Since the topbar
1942
height is specified in pixels, this also has to be specified in
1943
pixels to avoid overflowing the topbar when the user sets a bigger
1944
font size. */
1945
font-size: 24px;
+ word-break: break-all;
1946
+ /* In case the crate name is too long, we want users to be able to scroll the title. */
1947
+ overflow: hidden auto;
1948
+ max-height: 100%;
1949
}
1950
1951
.mobile-topbar h2 a {
0 commit comments