Card-mod style is defined for one conditional element - particularly for a state-label sub-element.
I expect to see this style applied for this state-label element only.
Instead, this style is applied for all state-label elements on the card.
Note that the card-mod style is defined w/o entering "shadowRoot".
Otherwise - the style is applied for a proper element only (as expected):
[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.
HA 2023.10.2 card-mod 3.2.3
My lovelace configuration method (GUI or yaml): both
Consider this picture-elements card:
Card-mod style is defined for one conditional element - particularly for a
state-label
sub-element. I expect to see this style applied for thisstate-label
element only. Instead, this style is applied for allstate-label
elements on the card.Note that the card-mod style is defined w/o entering "shadowRoot". Otherwise - the style is applied for a proper element only (as expected):
Unfortunately, when using card-mod styles with entering "shadowRoot" another issue is observed.
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.