1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-04-02 00:27:49 +01:00

Reduce heading button badge font size and fix alignement (#51274)

Title: Reduce heading button badge font size and fix alignement
This commit is contained in:
Paul Bottein
2026-03-30 13:02:06 +02:00
committed by GitHub
parent a07772c514
commit a42f6f864a

View File

@@ -112,7 +112,7 @@ export class HuiButtonHeadingBadge
width: auto;
height: var(--ha-heading-badge-size, 26px);
min-width: var(--ha-heading-badge-size, 26px);
font-size: var(--ha-heading-badge-font-size, var(--ha-font-size-m));
font-size: var(--ha-heading-badge-font-size, var(--ha-font-size-s));
font-weight: var(--ha-font-weight-medium);
}
ha-control-button.with-text {
@@ -135,6 +135,9 @@ export class HuiButtonHeadingBadge
padding: 0 var(--ha-space-1);
line-height: 1;
}
ha-icon {
line-height: 1;
}
`;
}