diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css
index aaa2525644f..afe9f58e36a 100644
--- a/src/librustdoc/html/static/rustdoc.css
+++ b/src/librustdoc/html/static/rustdoc.css
@@ -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 {
@@ -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;