anjlab / bootstrap-rails

Twitter Bootstrap CSS (with Sass flavour) and JS toolkits for Rails 3 projects
https://github.com/anjlab/bootstrap-rails
729 stars 96 forks source link

Problem with navbar - collapse not displaying on >= 768px #64

Closed gitjul closed 11 years ago

gitjul commented 11 years ago

Navbar is not displaying in it's normal form (not collapsed, that is). When I look into the source, there's a general .collapse { display: none } declaration in _component-animations.scss that is overriding it's normal behaviour.

For now I repeated this bit of Bootstrap styling in my stylesheet, which temporarily fixes the problem:

@media screen and (min-width: 768px)
  .collapse
    display: block !important
yury commented 11 years ago

Can't reproduce :(

Can you gist your page html?

Thank you.

gitjul commented 11 years ago

Shit, I think I know what I did wrong, I just found this in the Bootstrap blog: ".nav-collapse has been renamed to .navbar-collapse". I'm very sorry for the mixup, I feel stupid. My bad, please close issue.

yury commented 11 years ago

No problem