Skip to content

Commit

Permalink
rustdoc: improve alignment of out-of-band page info
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Sep 20, 2023
1 parent d5b23b2 commit 16a861c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,9 @@ ul.block, .block li {
.out-of-band {
flex-grow: 0;
font-size: 1.125rem;
align-items: end;
display: flex;
gap: 0.25em;
}

.docblock code, .docblock-short code,
Expand Down Expand Up @@ -1675,6 +1678,7 @@ in src-script.js
text-align: left;
margin-left: initial;
padding: initial;
display: block;
}

.out-of-band .since::before {
Expand Down

0 comments on commit 16a861c

Please sign in to comment.