Follow up: By adding div in front of .event-icon I was able to make it work.
Is there an existing issue for this?
[X] I have searched the existing issues
Current Behavior
I want to change the icon size in event mode using card mod but it doesn't work.
I add
.event-icon {
--mdc-icon-size: 25px !important;
}
to the code but the icons don't change in size. When I use the element inspector and change the size there it works.
When I remove the !important from the element view my added code also works. Therefore I assume that's the problem.
Expected behaviour
I expect the icons to change according to my additional code.
Steps To Reproduce
Have a card in event view and show the event icons
Add the code from above to the card code
Adjust the icon size however you want, it doesn't work
Hello @Aoshira, thank you for your interest in our work!
If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.
Follow up: By adding
div
in front of.event-icon
I was able to make it work.Is there an existing issue for this?
Current Behavior
I want to change the icon size in event mode using card mod but it doesn't work. I add
to the code but the icons don't change in size. When I use the element inspector and change the size there it works. When I remove the
!important
from the element view my added code also works. Therefore I assume that's the problem.Expected behaviour
I expect the icons to change according to my additional code.
Steps To Reproduce
Mode
Event (default)
Card Version
10.0.0
Home Assistant Version
2024.5.5
Configuration
Relevant log output
No response
Code of Conduct