2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-21 13:24:08 +03:00

Don't affix the fixed navbars in mobile views

This commit is contained in:
Mark Otto
2013-02-16 00:19:17 -08:00
parent d1aae5f82b
commit f38e50cdf1
3 changed files with 28 additions and 22 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
body {
position: relative; /* For scrollyspy */
padding-top: 62px; /* Default height of navbar */
/* We add the padding to the body for >768px only */
}
/* */
@@ -534,9 +534,9 @@ input.focused {
/* Tablets and up */
@media screen and (min-width: 768px) {
/* Account for fixed navbar */
/* Account for fixed navbar (which is static to start) */
body {
padding-top: 50px;
padding-top: 62px; /* Default height of navbar */
}
/* Tweak display of docs jumbotrons */