aboutsummaryrefslogtreecommitdiff
path: root/dist/css/bootstrap-rtl.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-03-09 20:45:32 -0700
committerMark Otto <[email protected]>2014-03-09 20:45:32 -0700
commitb4d66b7f6b8ca49fbf45fccf445910d607969946 (patch)
tree4cddf12596b35d2551466c63db3716886e315fe5 /dist/css/bootstrap-rtl.css
parent1a5fb4ef24f6d1beb71df946fa4781df10eab6e1 (diff)
downloadbootstrap-b4d66b7f6b8ca49fbf45fccf445910d607969946.tar.xz
bootstrap-b4d66b7f6b8ca49fbf45fccf445910d607969946.zip
Fixes #12738
* Removes default max-height from .navbar-collapse (so not every navbar will get a max-height collapse section) * Scopes regular 340px max-height to fixed top and bottom navbars only (those are the only ones that really need a max-height to enable scrolling) * Adds a landscape media query for phones to cap the max-height at 200px for fixed navbars"
Diffstat (limited to 'dist/css/bootstrap-rtl.css')
-rw-r--r--dist/css/bootstrap-rtl.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/dist/css/bootstrap-rtl.css b/dist/css/bootstrap-rtl.css
index d8f5bfb46..9a118ffa5 100644
--- a/dist/css/bootstrap-rtl.css
+++ b/dist/css/bootstrap-rtl.css
@@ -4649,7 +4649,6 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
.navbar-collapse {
- max-height: 340px;
padding-right: 15px;
padding-left: 15px;
overflow-x: visible;
@@ -4690,6 +4689,18 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
}
+.navbar-fixed-top .navbar-collapse,
+.navbar-fixed-bottom .navbar-collapse {
+ max-height: 340px;
+}
+
+@media (max-width: 480px) and (orientation: landscape) {
+ .navbar-fixed-top .navbar-collapse,
+ .navbar-fixed-bottom .navbar-collapse {
+ max-height: 200px;
+ }
+}
+
.container > .navbar-header,
.container-fluid > .navbar-header,
.container > .navbar-collapse,