Skip to content

Commit

Permalink
Fix border radius for doc code blocks in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed May 11, 2021
1 parent fe62c6e commit e55283a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustdoc/html/static/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ nav.sub {
border: 1px solid;
padding: 13px 8px;
text-align: right;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}

.rustdoc:not(.source) .example-wrap > pre.rust {
Expand Down Expand Up @@ -398,8 +400,6 @@ nav.sub {
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.line-numbers span {
cursor: pointer;
Expand Down

0 comments on commit e55283a

Please sign in to comment.