rustdoc: clean up the layout for annotated version numbers
This should result in a layout for the actual standard library,
when built on CI, that looks like this:
_____
/ \ std
| R | 1.74.0-nightly
\_____/
(203c57dbe 2023-09-17)
Having the whole version as one string caused it to flex wrap,
because the sidebar isn't wide enough to fit the whole thing.
This commit is contained in:
parent
957c5db6be
commit
6d6fa792ff
6 changed files with 23 additions and 6 deletions
|
|
@ -492,6 +492,7 @@ ul.block, .block li {
|
|||
}
|
||||
|
||||
.sidebar-elems,
|
||||
.sidebar > .version,
|
||||
.sidebar > h2 {
|
||||
padding-left: 24px;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue