Closed SquirrelsMcGee closed 2 months ago
I missed a detail in the documentation... 🤦♂️
Resulting in the now working configuration
card_mod:
debug: true
style:
.: |
state-card-content { display: none }
ha-card { text-align: center; }
more-info-content$:
more-info-light$: |
ha-more-info-state-header { display: none !important; }
ha-attributes { display: none !important; }
Closing as not an issue
My Home Assistant version: 2024.4.3
What I am doing: Trying to style a more-info-card from https://github.com/thomasloven/lovelace-more-info-card
What I expected to happen: I expected to be able to traverse the shadowroot tree
What happened instead: Styling of items inside of nested shadowroot nodes doesn't work at all? As far as I can tell i've followed the example guide to the letter, I've tried as many combinations of syntax as i could find documented
Like this
And these
and nothing works
Minimal steps to reproduce:
This is what the DOM looks like![image](https://github.com/thomasloven/lovelace-card-mod/assets/8070535/22c8a69d-4ece-49b7-ab6f-a352d2296935)
Error messages from the browser console: None
By putting an X in the boxes ([]) below, I indicate that I:
[x] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[x] Have made sure I am using the latest version of the plugin.
[x] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[x] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.