Ripple tap-highlight: no border-radius on Safari based clients #957
Bat-Maniac
started this conversation in
General
Replies: 1 comment
-
@Bat-Maniac Thanks for the fix, also encountered the bug and this fixed it perfectly! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
I updated the card to the latest version available
I cleared the cache of my browser
Describe the bug
The ripple tap-highlight (
ha-card#card.button-card-main.type-custom-button-card > mwc-ripple#ripple
) has no border-radius when using Safari-Browser (and Safari-Clients like the iOS and Mac OS companion-apps).I've fixed this issue by injecting custom CSS with
extra_styles
like this:I think the last style attribute is the important one:
-webkit-mask-image: -webkit-radial-gradient(white, black) !important;
Version of the card
Version: 3.4.2
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Maybe you could add the fix i suggested above into the code.
Beta Was this translation helpful? Give feedback.
All reactions