-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Links badges without href breaks color #31279
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
Comments
@inwardmovement Why are you removing href attribute from anchor tag? 🤔 |
@rohit2sharma95 because I am using a link badge as a footnote ref toggling a popover showing the footnote text. See this in action here: If I leave
As another suggested fix we could use |
I just ran into this as well, sort of, in the case where we wanted a |
Links badges should be usable without
href
attribute, to be used like buttons. For now_reboot.scss
breaks badge color:Suggested fixes:
_reboot.scss
:provide support for using
.badge-*
classes on a<button>
element, having the same styling as using them on a<a>
element (no.btn
styling).add
preventDefault()
on anchor tags withhref
, like for link buttonsThe text was updated successfully, but these errors were encountered: