mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 05:06:38 +00:00
Fix font-size
This commit is contained in:
parent
40b08e8900
commit
41befbf33b
@ -57,6 +57,8 @@ export class HaButton extends Button {
|
|||||||
--ha-button-height,
|
--ha-button-height,
|
||||||
var(--button-height, 40px)
|
var(--button-height, 40px)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
font-size: var(--ha-font-size-l);
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([size="small"]) .button {
|
:host([size="small"]) .button {
|
||||||
@ -64,6 +66,7 @@ export class HaButton extends Button {
|
|||||||
--ha-button-height,
|
--ha-button-height,
|
||||||
var(--button-height, 32px)
|
var(--button-height, 32px)
|
||||||
);
|
);
|
||||||
|
font-size: var(--wa-font-size-s, var(--ha-font-size-l));
|
||||||
}
|
}
|
||||||
|
|
||||||
:host([variant="brand"]) {
|
:host([variant="brand"]) {
|
||||||
|
@ -216,6 +216,7 @@ export class HaAutomationEditor extends PreventUnsavedMixin(
|
|||||||
? html`
|
? html`
|
||||||
<ha-button
|
<ha-button
|
||||||
appearance="plain"
|
appearance="plain"
|
||||||
|
size="small"
|
||||||
@click=${this._showTrace}
|
@click=${this._showTrace}
|
||||||
slot="toolbar-icon"
|
slot="toolbar-icon"
|
||||||
>
|
>
|
||||||
|
@ -145,7 +145,7 @@ class DialogRepairsIssue extends LitElement {
|
|||||||
: undefined}
|
: undefined}
|
||||||
>
|
>
|
||||||
${this.hass!.localize("ui.panel.config.repairs.dialog.learn")}
|
${this.hass!.localize("ui.panel.config.repairs.dialog.learn")}
|
||||||
<ha-svg-icon .path=${mdiOpenInNew}></ha-svg-icon>
|
<ha-svg-icon slot="end" .path=${mdiOpenInNew}></ha-svg-icon>
|
||||||
</ha-button>
|
</ha-button>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user