]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix body padding in Dashboard and Jumbotron examples.
authorGeremia Taglialatela <tagliala@users.noreply.github.com>
Mon, 23 Jan 2017 11:20:07 +0000 (12:20 +0100)
committerBardi Harborow <bardi@bardiharborow.com>
Mon, 23 Jan 2017 11:20:07 +0000 (22:20 +1100)
The actual navbar height is 3.5rem.

docs/examples/dashboard/dashboard.css
docs/examples/jumbotron/jumbotron.css

index 99f2962b5d5e4ac38a4cfb6bf19358b674df4df3..b1248cd680f418e1e0bd4d31d1e5c42ce175585a 100644 (file)
@@ -2,9 +2,9 @@
  * Base structure
  */
 
-/* Move down content because we have a fixed navbar that is 50px tall */
+/* Move down content because we have a fixed navbar that is 3.5rem tall */
 body {
-  padding-top: 50px;
+  padding-top: 3.5rem;
 }
 
 /*
index 2f72eb954a975025316d0b84417fc8f5048b4267..d751264eff13e677c08ddb4c19bad74a04fbc7ab 100644 (file)
@@ -1,4 +1,4 @@
-/* Move down content because we have a fixed navbar that is 50px tall */
+/* Move down content because we have a fixed navbar that is 3.5rem tall */
 body {
-  padding-top: 2rem;
+  padding-top: 3.5rem;
 }