mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 18:56:39 +00:00
Remove margin from button card icon if icon is all that is set (#8584)
This commit is contained in:
parent
47a024b795
commit
bef0d3a6a1
@ -272,7 +272,10 @@ export class HuiButtonCard extends LitElement implements LovelaceCard {
|
|||||||
height: auto;
|
height: auto;
|
||||||
color: var(--paper-item-icon-color, #44739e);
|
color: var(--paper-item-icon-color, #44739e);
|
||||||
--mdc-icon-size: 100%;
|
--mdc-icon-size: 100%;
|
||||||
margin-bottom: 8px;
|
}
|
||||||
|
|
||||||
|
ha-icon + span {
|
||||||
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ha-icon,
|
ha-icon,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user