Skip to content

Commit 0bfac7f

Browse files
Fix <code> blocks in doc blocks display on mobile
1 parent 44995f7 commit 0bfac7f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

+4
Original file line numberDiff line numberDiff line change
@@ -1969,4 +1969,8 @@ details.undocumented[open] > summary::before {
19691969
.docblock {
19701970
margin-left: 12px;
19711971
}
1972+
1973+
.docblock code {
1974+
overflow-wrap: anywhere;
1975+
}
19721976
}

0 commit comments

Comments
 (0)