diff --git a/src/components/ha-button.ts b/src/components/ha-button.ts index ae7a8f9b6e..7d286f8ffb 100644 --- a/src/components/ha-button.ts +++ b/src/components/ha-button.ts @@ -223,6 +223,12 @@ export class HaButton extends Button { .button.has-end { padding-inline-end: 8px; } + + .label { + overflow: hidden; + text-overflow: ellipsis; + padding: var(--ha-space-1) 0; + } `, ]; } diff --git a/src/panels/config/devices/ha-config-device-page.ts b/src/panels/config/devices/ha-config-device-page.ts index 6a37e5eed2..74cd581b5c 100644 --- a/src/panels/config/devices/ha-config-device-page.ts +++ b/src/panels/config/devices/ha-config-device-page.ts @@ -770,43 +770,39 @@ export class HaConfigDevicePage extends LitElement { ${firstDeviceAction || actions.length ? html`