diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 1cadc4e476a..c07871a4029 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -616,15 +616,19 @@ a.test-arrow { } .sidebar .location { - float: left; + float: right; margin: 0px; - padding: 5px; - width: 60%; + padding: 3px 10px 1px 10px; + min-height: 39px; background: inherit; text-align: left; font-size: 24px; } + .sidebar .location:empty { + padding: 0; + } + .sidebar img { width: 35px; margin-top: 5px;