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

Update fallback border-radius to latest HA style #706

Merged
merged 2 commits into from
Nov 11, 2022

Conversation

breakthestatic
Copy link
Contributor

The default border-radius of ha-card is now 12px, which is causing the player contents to flow outside the card. Since the container needs overflow: visible to allow things like the source dropdown to expand beyond the player itself, it seems most appropriate to have the player contents respect the default. Perhaps this is a regression for older HA installs? Not sure what your stance is regarding maintaining backwards compatibility - worst case scenario I think is older installs could use the css variable ha-card-border-radius to override for their needs. However, I think going forward we should try to keep up-to-date with what the HA frontend is doing.
Screenshot 2022-11-03 at 4 23 38 PM
Screenshot 2022-11-03 at 4 28 43 PM

@breakthestatic breakthestatic marked this pull request as draft November 3, 2022 23:41
@breakthestatic breakthestatic marked this pull request as ready for review November 3, 2022 23:59
@kalkih
Copy link
Owner

kalkih commented Nov 11, 2022

Hey,
Thanks for the contribution.
Looks good to me.

As for backwards compatibility; I think if it's possible and not a huge hassle / much additional complexity it's great to at least aim to support the last few versions.

@kalkih kalkih merged commit 515f4f4 into kalkih:dev Nov 11, 2022
@breakthestatic breakthestatic deleted the fix-non-group-borders-2022.11 branch July 19, 2023 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants