]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove relative and top positioning from docs sidenav at narrow layout
authorMark Otto <markotto@twitter.com>
Mon, 20 Aug 2012 18:28:30 +0000 (11:28 -0700)
committerMark Otto <markotto@twitter.com>
Mon, 20 Aug 2012 18:28:30 +0000 (11:28 -0700)
docs/assets/css/docs.css

index d9b9f16066806eae929ffef8816387022918e315..17bfcda6af46cd50cc0fd8a77f9d9c9183d1ae4b 100644 (file)
@@ -760,10 +760,9 @@ form.bs-docs-example {
 
 .bs-docs-sidenav {
   width: 228px;
-  margin-top: 30px;
+  margin: 30px 0 20px;
   padding: 0;
   background-color: #fff;
-  margin-left: 0;
   -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
           border-radius: 6px;
@@ -924,8 +923,9 @@ form.bs-docs-example {
     width: auto;
   }
   .bs-docs-sidenav.affix {
-    position: relative;
+    position: static;
     width: auto;
+    top: 0;
   }
 
   /* Unfloat the back to top link in footer */