From b0b7998757dc6536d054a489a8b2efd8890b7c52 Mon Sep 17 00:00:00 2001 From: Paul Bottein Date: Fri, 31 Mar 2023 16:24:03 +0200 Subject: [PATCH] Fix for long translation in alarm more info (#16000) --- src/components/ha-control-select.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/ha-control-select.ts b/src/components/ha-control-select.ts index 4aff82ac15..c2e56a5e73 100644 --- a/src/components/ha-control-select.ts +++ b/src/components/ha-control-select.ts @@ -303,6 +303,14 @@ export class HaControlSelect extends LitElement { justify-content: center; flex-direction: column; text-align: center; + padding: 2px; + width: 100%; + box-sizing: border-box; + } + .option .content span { + display: block; + width: 100%; + hyphens: auto; } :host([vertical]) { width: var(--control-select-thickness);