You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updated .navbar .container to use width: auto; to start and then reset the fixed widths via the #gridSystem mixin (it's a little dirty, but required to avoid adding another class).
However, this means that when using a static navbar with the following code:
this means that the container takes width:auto, ignoring the 940px declaration on .container, and causing all navigation elements to sit at the far left/far right of the navigation.
Of course, this could be the expected behaviour, but it's a breaking change, and not particularly obvious as to the best way to remedy it. .navbar-inner > .container { width:940px; } works nicely, but I am confused as to why fixed navbars have containers with width, while static navbars have containers without width.
The text was updated successfully, but these errors were encountered:
I've encountered exactly the same issue. The 'width: auto' supercedes the fixed pixel width when the class .navbar-fixed-top is removed to make the navbar static.
From the changelog:
However, this means that when using a static navbar with the following code:
this means that the container takes
width:auto
, ignoring the 940px declaration on.container
, and causing all navigation elements to sit at the far left/far right of the navigation.Of course, this could be the expected behaviour, but it's a breaking change, and not particularly obvious as to the best way to remedy it.
.navbar-inner > .container { width:940px; }
works nicely, but I am confused as to why fixed navbars have containers with width, while static navbars have containers without width.The text was updated successfully, but these errors were encountered: