-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
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
Account for badges in buttons #11268
Conversation
@@ -49,3 +50,33 @@ a.list-group-item.active > .badge, | |||
.nav-pills > li > a > .badge { | |||
margin-left: 3px; | |||
} | |||
|
|||
// Account for badges in buttons | |||
.btn-primary .badge, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use nesting so that .badge
doesn't have to be repeated.
Thanks for the tip, I've updated the less to include nesting |
X-Ref: #11217 |
Fixed manually with an update to the button variant mixin. Thanks! |
…d to text color and text color to background
There appears to be an issue with a badge on a btn btn-default where the badge background color is white and the color is also white. |
@etishor Please open a new bug. |
…g background to text color and text color to background
…g background to text color and text color to background
Suggestion for making badges in buttons look better.
PS. No idea where the select came from, just did a "grunt dist"