Skip to content

Commit 7a718f3

Browse files
committed
rustdoc: use block flex for line-number CSS
`display: inline-flex` was used as part of e961d39, the original commit that added these line numbers. Does anyone know why it was done this way?
1 parent db4b4d3 commit 7a718f3

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,13 +577,9 @@ h2.location a {
577577
}
578578

579579
.rustdoc .example-wrap {
580-
display: inline-flex;
580+
display: flex;
581581
margin-bottom: 10px;
582-
}
583-
584-
.example-wrap {
585582
position: relative;
586-
width: 100%;
587583
}
588584

589585
.example-wrap > pre.line-number {

0 commit comments

Comments
 (0)