Skip to content

Commit e55283a

Browse files
Fix border radius for doc code blocks in rustdoc
1 parent fe62c6e commit e55283a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/rustdoc.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ nav.sub {
371371
border: 1px solid;
372372
padding: 13px 8px;
373373
text-align: right;
374+
border-top-left-radius: 5px;
375+
border-bottom-left-radius: 5px;
374376
}
375377

376378
.rustdoc:not(.source) .example-wrap > pre.rust {
@@ -398,8 +400,6 @@ nav.sub {
398400
-moz-user-select: none;
399401
-ms-user-select: none;
400402
user-select: none;
401-
border-top-left-radius: 5px;
402-
border-bottom-left-radius: 5px;
403403
}
404404
.line-numbers span {
405405
cursor: pointer;

0 commit comments

Comments
 (0)