0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-11 03:52:27 +01:00

Fixed responsive navbar docs typo

The example given contradicts itself. The comments in the code claim `.navbar-collapse` will be hidden until 768px+ wide, but the line beneath uses `.nav-collapse`. The latter seems to actually work with the collapse plugin.
This commit is contained in:
Dave Wasmer 2013-08-05 23:02:15 -04:00
parent d87745d94d
commit 587cd6c0d6

View File

@ -1312,7 +1312,7 @@ body { padding-bottom: 70px; }
<!-- Be sure to leave the brand out there if you want it shown -->
<a class="navbar-brand" href="#">Title</a>
<!-- Place everything within .navbar-collapse to hide it until above 768px -->
<!-- Place everything within .nav-collapse to hide it until above 768px -->
<div class="nav-collapse collapse navbar-responsive-collapse">
...
</div><!-- /.nav-collapse -->