Reputation: 23374
In the start sample for Bootstrap, as I shrink the width of the browser, the navbar suddenly becomes taller (as the menu options go into the dropdown button). Is there any way to control this?
Upvotes: 0
Views: 790
Reputation: 460
I encountered exactly this issue and i found a solution after some research.
Changing below "padding:" to 0px:
navbar-fixed-top .navbar-inner, .navbar-fixed-bottom .navbar-inner {
padding: 0px;}
Will fix the issue. I guess the change can also be done in the LESS file and recompiling the css, but i put my change in the "main.css" file instead.
Upvotes: 0
Reputation: 3841
Bootstrap handles browser width changes through CSS Media Queries. You can override them by creating your own CSS for the navbar and including it after the bootstrap one, for example.
Upvotes: 1