0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Fix reboot for placeholder links (#29162)

Backport of #29140
This commit is contained in:
Patrick H. Lauke 2019-07-29 09:27:14 +01:00 committed by XhmikosR
parent 397359154c
commit d5266dc995

View File

@ -194,13 +194,12 @@ a {
}
}
// And undo these styles for placeholder links/named anchors (without href)
// which have not been made explicitly keyboard-focusable (without tabindex).
// And undo these styles for placeholder links/named anchors (without href).
// It would be more straightforward to just use a[href] in previous block, but that
// causes specificity issues in many other styles that are too complex to fix.
// See https://github.com/twbs/bootstrap/issues/19402
a:not([href]):not([tabindex]) {
a:not([href]) {
color: inherit;
text-decoration: none;