aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-02-16 00:19:17 -0800
committerMark Otto <[email protected]>2013-02-16 00:19:17 -0800
commitf38e50cdf146fb99f0f0178e7ea7f636544d7ce2 (patch)
tree6f16ce2401030e82898e8e2f767e25e7509238c8 /docs/assets/css/docs.css
parentd1aae5f82bade48104da2ade7d94b22881840859 (diff)
downloadbootstrap-f38e50cdf146fb99f0f0178e7ea7f636544d7ce2.tar.xz
bootstrap-f38e50cdf146fb99f0f0178e7ea7f636544d7ce2.zip
Don't affix the fixed navbars in mobile views
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index e42e5e869..5f19d11b6 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -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 */