We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Place a dropdown menu in, say, an h2 tag. The button font-size is the 14px, but the menu items are h2 size.
Here is an example:
<h2> <a href="#">My H2 Title Text</a> <div class="btn-group pull-right"> <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button"> Selected Option <span class="caret"></span> </button> <ul class="dropdown-menu"> <li><a href="#">Option 1</a></li> <li><a href="#">Option 2</a></li> <li><a href="#">Option 3</a></li> </ul> </div> </h2>
'Selected Option' will be 14px but 'Option 1', 'Option 2' and 'Option 3' will be 34px.
I was able to get around this by adding...
.dropdown-menu li { font-size: 14px; }
...to my stylesheet but I believe this is intended to be the default font-size, correct?
The text was updated successfully, but these errors were encountered:
270af4d
(less) fixes twbs#9431: specify font-size in dropdown menus to avoid …
cc8e68d
…inheritance issues
6ca3063
No branches or pull requests
Place a dropdown menu in, say, an h2 tag. The button font-size is the 14px, but the menu items are h2 size.
Here is an example:
'Selected Option' will be 14px but 'Option 1', 'Option 2' and 'Option 3' will be 34px.
I was able to get around this by adding...
...to my stylesheet but I believe this is intended to be the default font-size, correct?
The text was updated successfully, but these errors were encountered: