Skip to content

Commit

Permalink
[maps] fix toolbar action button not filled when selected
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed May 23, 2023
1 parent a7c2d09 commit 8620c55
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -10,7 +10,7 @@
position: relative;
transition: transform $euiAnimSpeedNormal ease-in-out, background $euiAnimSpeedNormal ease-in-out;

.euiButtonIcon:not(.euiButtonIcon--fill) {
.euiButtonIcon:not([class*="euiButtonIcon-fill"]) {
color: $euiTextColor !important;
}

Expand All @@ -26,7 +26,7 @@

// Removes the focus background state because it can induce users to think these buttons are "enabled".
// The buttons functionality are just applied once, so they shouldn't stay highlighted.
.euiButtonIcon:focus:not(:hover) {
.euiButtonIcon:focus:not([class*="euiButtonIcon-fill"]):not(:hover) {
background: none;
}
}
Expand Down

0 comments on commit 8620c55

Please sign in to comment.