Links badges should be usable without href attribute, to be used like buttons. For now _reboot.scss breaks badge color:
a:not([href]) {
color: inherit;
[...]
}
Suggested fixes:
a:not([href]):not(.badge)
-
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 with href, like for link buttons
Links badges should be usable without
hrefattribute, to be used like buttons. For now_reboot.scssbreaks 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.btnstyling).add
preventDefault()on anchor tags withhref, like for link buttons