diff options
| author | Mark Otto <[email protected]> | 2013-02-17 18:33:55 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-17 18:33:55 -0800 |
| commit | c0ea077fb4890a4212e1c517d5fc2369beb49773 (patch) | |
| tree | 539c32b2b1af307a68528c5a39354a6b4dc4863d /less | |
| parent | 4cbb663d9d9f1399b37e97a54c0b9f67270c4943 (diff) | |
| download | bootstrap-c0ea077fb4890a4212e1c517d5fc2369beb49773.tar.xz bootstrap-c0ea077fb4890a4212e1c517d5fc2369beb49773.zip | |
Revert the statis navbar in mobile views--they're back to being fixed all the time
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/less/navbar.less b/less/navbar.less index b82534e43..8f063b45c 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -49,11 +49,17 @@ border-radius: 0; } -// Fixed navbars aren't fixed to start; that comes at >768px +// Fix the top/bottom navbars when screen real estate supports it .navbar-fixed-top, .navbar-fixed-bottom { + position: fixed; + right: 0; + left: 0; + z-index: @zindex-navbar-fixed; border-radius: 0; } +.navbar-fixed-top { top: 0; } +.navbar-fixed-bottom { bottom: 0; } @@ -270,17 +276,6 @@ border-right-color: lighten(@navbar-inverse-bg, 5%); } - // Fix the top/bottom navbars when screen real estate supports it - .navbar-fixed-top, - .navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: @zindex-navbar-fixed; - } - .navbar-fixed-top { top: 0; } - .navbar-fixed-bottom { bottom: 0; } - // Required to make the collapsing navbar work on regular desktops .navbar .btn-navbar { display: none; |
