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:
@@ -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;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user