fix: revert aria-current='false'

This commit is contained in:
Lucas Larroche 2023-04-02 10:06:26 +07:00
parent 65bedda83a
commit 395ceca401
5 changed files with 33 additions and 39 deletions

View file

@ -177,7 +177,7 @@
&:focus,
&:active,
&:focus-visible,
&[aria-current]:not([aria-current="false"]) {
&[aria-current] {
background-color: var(#{$}dropdown-hover-background-color);
}
}

View file

@ -93,7 +93,7 @@
transition: opacity var(#{$}transition);
}
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
&:is([aria-current], :hover, :active, :focus) {
opacity: 1;
}
}

View file

@ -96,7 +96,7 @@
}
// Minimal support for aria-current
& a[aria-current]:not([aria-current="false"]) {
& a[aria-current] {
background-color: transparent;
color: inherit;
text-decoration: none;