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

HA 2022.11 introduces border to cards - theme update required to resolve. #118

Closed
Harro65 opened this issue Nov 3, 2022 · 5 comments
Closed

Comments

@Harro65
Copy link

Harro65 commented Nov 3, 2022

With the latest HA 2022.11 release, the title card has introduced a ha-card-border-width: which shows on all cards.

To remove, an update to the theme is needed setting the border width to 0

Adding the following to the theme looks to resolve.

ha-card-border-width: '0px'

@matt8707
Copy link
Owner

matt8707 commented Nov 3, 2022

Thanks, but that's already been merged 5314c69

@matt8707 matt8707 pinned this issue Nov 3, 2022
@matt8707 matt8707 closed this as completed Nov 3, 2022
@Xitro01
Copy link

Xitro01 commented Nov 3, 2022

This makes the /config/integrations very ugly, as also the borders there completely dissapear. Isn't there a neater solution to this?

@matt8707
Copy link
Owner

matt8707 commented Nov 4, 2022

Oh, you're right. I'll reopen this

@matt8707 matt8707 reopened this Nov 4, 2022
@matt8707
Copy link
Owner

matt8707 commented Nov 4, 2022

I think I figured it out → 2699776

  • remove ha-card-border-width: 0px from themes.yaml
    borders working again in other sections

  • set border-width: 0 to base.yaml and sidebar.yaml
    this removes all borders from main dashboard

  • add --ha-card-border-width: 0 to card-mod-more-info in themes.yaml
    remove all borders in browser_mod popups, but you'll see the borders for a split second

  • also add --ha-card-border-width: 0 to www/browser_mod_icon.js
    adds rule even before the popup is loaded

@Xitro01
Copy link

Xitro01 commented Nov 4, 2022

Just applied your changes and this looks like a much neater solution, thanks alot!

@matt8707 matt8707 closed this as completed Nov 4, 2022
@matt8707 matt8707 unpinned this issue Jan 7, 2023
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

No branches or pull requests

3 participants