rustdoc: use block flex for line-number CSS
`display: inline-flex` was used as part of
e961d397ca, the original commit that added
these line numbers. Does anyone know why it was done this way?
This commit is contained in:
parent
db4b4d3bec
commit
7a718f3be2
1 changed files with 1 additions and 5 deletions
|
|
@ -577,13 +577,9 @@ h2.location a {
|
|||
}
|
||||
|
||||
.rustdoc .example-wrap {
|
||||
display: inline-flex;
|
||||
display: flex;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.example-wrap {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.example-wrap > pre.line-number {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue