Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State color bleeding over corners no matter the radius #211

Open
Kay0ss opened this issue Sep 23, 2022 · 1 comment
Open

State color bleeding over corners no matter the radius #211

Kay0ss opened this issue Sep 23, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Kay0ss
Copy link

Kay0ss commented Sep 23, 2022

  • [X ] I updated to the latest version available
  • [X ] I cleared the cache of my browser

Release with the issue:
1.10.9
Last working release (if known):

Browser and Operating System:
Chrome browser(Win 11) and on HASS android app
It happens at all times no matter the device I'm in.

Description of problem:
image
It appears the border radius on the right is about a pixel or so off from the slider overlay. I'm able to remove it manually in CSS on the browser by adjusting the right side border radius to a larger radius, but I can't add custom CSS with card mod to the card to get it to stay

Also I know I know small issue, I'm just picky and can't figure it out haha :)

@Kay0ss Kay0ss added the bug Something isn't working label Sep 23, 2022
@jensrossbach
Copy link

I think this is not a specific problem of this Lovelace card but more a generic problem of the browser's rendering engine. There is a workaround possible as described in this GitHub ghist. Although it is related to the Safari browser, I can confirm that it also works on Chromium-based browsers (tested on Edge and Fully Kiosk).

I say "workaround" because it doesn't solve the problem 100% but at least to a degree that you can hardly see the issue afterwards (especially on displays with high pixel density). Additionally the fix can be permanently applied to the slider-button-card using card-mod (apply to ha-card > div > div.slider).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants