twitter/bootstrap — Issue #1570: navbar-fixed-top breaks when using responsive css
Author: ejain
Created: 2012-02-02 03:31:28+00:00
State: open

When using navbar-fixed-top a padding-top has to be set on the body. But when using bootstrap responsive and reducing he width of the window, the navbar switches into a non-fixed vertical layout. Because the padding-top is still set, there is now a gap above the navbar...

This behavior can be seen e.g. in the example at http://twitter.github.com/bootstrap/examples/starter-template.html.