diff options
| author | Mark Otto <[email protected]> | 2013-08-05 14:19:32 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-08-05 14:19:32 -0700 |
| commit | c15f5a89a07316404b289fc0c65db1a4e52c95d1 (patch) | |
| tree | 9f669857e884115296e2ec5786382810634f285f /dist/css/bootstrap.css | |
| parent | 96136dbb56e136278cc7084caf84291949925d0c (diff) | |
| download | bootstrap-c15f5a89a07316404b289fc0c65db1a4e52c95d1.tar.xz bootstrap-c15f5a89a07316404b289fc0c65db1a4e52c95d1.zip | |
Enable scrollable responsive nav bar
Fixes #9007 in a hopefully decent way
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 4d8bb7038..50b168190 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -2870,6 +2870,16 @@ button.close { margin-bottom: 0; } +@media (max-width: 768px) { + .nav-collapse-scrollable { + max-height: 360px; + margin-bottom: 15px; + overflow-x: hidden; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + } +} + .navbar-brand { display: block; max-width: 200px; |
