I cant seem to figure out how to resize these mushroom template cards, help would be appriciated.
Already played with card_mod, also without success. latest home assistant and versions of the card.
See the screenshot below, where you can see the buttons are not properly lined up with the other buttons.
style:
mushroom-shape-icon$: |
.shape {
--icon-size: 24px;
}
mushroom-state-info$: |
.container {
--card-primary-font-size: 16px;
--card-secondary-font-size: 12px;
padding-top: -11px !important; # Reduce top padding
padding-bottom: -4px !important; # Reduce bottom padding
}
.: |
:host {
--mush-icon-padding: 0.5em; # Reduce padding around the icon
height: auto !important; # Let the card adjust to content
}