Remove margin from button card icon if icon is all that is set (#8584)

This commit is contained in:
Ģirts 2021-03-08 13:47:19 +02:00 committed by GitHub
parent 47a024b795
commit bef0d3a6a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,10 @@ export class HuiButtonCard extends LitElement implements LovelaceCard {
height: auto;
color: var(--paper-item-icon-color, #44739e);
--mdc-icon-size: 100%;
margin-bottom: 8px;
}
ha-icon + span {
margin-top: 8px;
}
ha-icon,