Skip to content

Commit 279b11c

Browse files
Fix display of warning block if it is first element of the top doc block
1 parent 2378227 commit 279b11c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,9 @@ documentation. */
13671367
font-weight: bold;
13681368
font-size: 1.25rem;
13691369
}
1370+
.top-doc > .docblock >.warning:first-child::before {
1371+
top: 20px;
1372+
}
13701373

13711374
a.test-arrow {
13721375
visibility: hidden;

0 commit comments

Comments
 (0)