]> git.lizzy.rs Git - rust.git/commitdiff
Responsive layout correction.
authorgohyda <gohyda@gohyda.com>
Thu, 3 Mar 2016 03:46:30 +0000 (04:46 +0100)
committergohyda <gohyda@gohyda.com>
Thu, 3 Mar 2016 03:46:30 +0000 (04:46 +0100)
src/librustdoc/html/static/rustdoc.css

index 1cadc4e476ac4512d18004cdb42a6caaa569cb82..c07871a4029cae1840eb3e8bf2133b15e6d4b66d 100644 (file)
@@ -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;