]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Super ghetto fix for preventing navbar overlap when clicking side nav links /cc @fat
authorMark Otto <otto@github.com>
Mon, 19 Aug 2013 05:19:56 +0000 (22:19 -0700)
committerMark Otto <otto@github.com>
Mon, 19 Aug 2013 05:19:56 +0000 (22:19 -0700)
assets/css/docs.css

index 44cf16db645e778146ae9b7775120356533435e1..bbc0b43f2ed66da349d6e1e428302107801903e9 100644 (file)
@@ -491,11 +491,19 @@ body {
  * Content blocks for each component or feature.
  */
 
-/* Space things out for fixed navbar */
+/* Space things out */
 .bs-docs-section + .bs-docs-section {
   padding-top: 80px;
 }
 
+/* Ghetto fix for preventing navbar from overlapping */
+h1[id],
+h2[id],
+h3[id] {
+  padding-top: 80px;
+  margin-top: -80px;
+}
+
 
 /*
  * Callouts