You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the default Home Assistant theme and am noticing that this is one of my only cards that doesn't respect the theme's card styling for rounded corners.
I've fixed it in my HA instance using card-mod (example below), but it would be better for it to get fixed in the main project rather than requiring card-mod to fix it.
Simply applying the overflow: hidden style to the ha-card makes the corners properly rounded again, since the inner div containing the background color can no longer break outside of the ha-card container.
I'm not sure if there are any potential downsides to this approach, but in my testing so far it's working great.
If for some reason this can't be fixed in the repo, this is how other people can fix it in their card instance using card-mod:
card_mod:
style: |
ha-card {
overflow: hidden;
}
The text was updated successfully, but these errors were encountered:
bmcclure
changed the title
Corners don't appear rounded in the default HA theme
Corners not rounded in the default HA theme
Apr 6, 2023
I am using the default Home Assistant theme and am noticing that this is one of my only cards that doesn't respect the theme's card styling for rounded corners.
I've fixed it in my HA instance using card-mod (example below), but it would be better for it to get fixed in the main project rather than requiring card-mod to fix it.
Simply applying the
overflow: hidden
style to the ha-card makes the corners properly rounded again, since the inner div containing the background color can no longer break outside of the ha-card container.I'm not sure if there are any potential downsides to this approach, but in my testing so far it's working great.
If for some reason this can't be fixed in the repo, this is how other people can fix it in their card instance using card-mod:
The text was updated successfully, but these errors were encountered: