Skip to content

Commit 16a861c

Browse files
committed
rustdoc: improve alignment of out-of-band page info
1 parent d5b23b2 commit 16a861c

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
@@ -607,6 +607,9 @@ ul.block, .block li {
607607
.out-of-band {
608608
flex-grow: 0;
609609
font-size: 1.125rem;
610+
align-items: end;
611+
display: flex;
612+
gap: 0.25em;
610613
}
611614

612615
.docblock code, .docblock-short code,
@@ -1675,6 +1678,7 @@ in src-script.js
16751678
text-align: left;
16761679
margin-left: initial;
16771680
padding: initial;
1681+
display: block;
16781682
}
16791683

16801684
.out-of-band .since::before {

0 commit comments

Comments
 (0)