From 6e130cc0208fdcb97c627d590e2d82c9f14b19a7 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Sat, 17 Oct 2020 22:28:40 +0200 Subject: [PATCH] Properly wrap integration title / device names (#7355) --- src/panels/config/integrations/ha-integration-card.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/panels/config/integrations/ha-integration-card.ts b/src/panels/config/integrations/ha-integration-card.ts index e52b318d82..2ee72b8bac 100644 --- a/src/panels/config/integrations/ha-integration-card.ts +++ b/src/panels/config/integrations/ha-integration-card.ts @@ -495,7 +495,6 @@ export class HaIntegrationCard extends LitElement { max-height: 100%; max-width: 90%; } - .none-found { margin: auto; text-align: center; @@ -510,6 +509,14 @@ export class HaIntegrationCard extends LitElement { margin-top: 0; min-height: 24px; } + h3 { + word-wrap: break-word; + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + overflow: hidden; + text-overflow: ellipsis; + } ha-button-menu { color: var(--secondary-text-color); --mdc-menu-min-width: 200px;