aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-06-24 21:07:20 -0700
committerMark Otto <[email protected]>2012-06-24 21:07:20 -0700
commit508a93d9e307457426f2aa2fcfa740858ebd851a (patch)
tree870b10f64d5e69c9d276f5183086b9af6ba50a0d /less
parent6662f62236cd1800952fb45a528b79d9a899f5d5 (diff)
downloadbootstrap-508a93d9e307457426f2aa2fcfa740858ebd851a.tar.xz
bootstrap-508a93d9e307457426f2aa2fcfa740858ebd851a.zip
make fixing of subnav work again
Diffstat (limited to 'less')
-rw-r--r--less/responsive-navbar.less11
1 files changed, 6 insertions, 5 deletions
diff --git a/less/responsive-navbar.less b/less/responsive-navbar.less
index 92e651e0b..480939f7c 100644
--- a/less/responsive-navbar.less
+++ b/less/responsive-navbar.less
@@ -153,7 +153,7 @@
}
// Fixed subnav on scroll, but only for 980px and up (sorry IE!)
- .subnav-fixed {
+ .navbar-subnav-fixed {
position: fixed;
top: 40px;
left: 0;
@@ -169,13 +169,14 @@
box-shadow: inset 0 1px 0 #fff, 0 1px 5px rgba(0,0,0,.1);
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); /* IE6-9 */
}
- .subnav-fixed .nav {
- max-width: 780px;
+ .navbar-subnav-fixed .nav {
+ float: none;
+ max-width: 970px;
margin: 0 auto;
padding: 0 1px;
}
- .subnav .nav > li:first-child > a,
- .subnav .nav > li:first-child > a:hover {
+ .navbar-subnav .nav > li:first-child > a,
+ .navbar-subnav .nav > li:first-child > a:hover {
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;