From 1667973a6647f8b8b860c0aa52058e75a494c9f8 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Tue, 5 Jan 2021 10:50:40 +0100 Subject: [PATCH] Improve spacing in entity rows + secondary ellipsis (#8028) --- src/panels/lovelace/components/hui-generic-entity-row.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/panels/lovelace/components/hui-generic-entity-row.ts b/src/panels/lovelace/components/hui-generic-entity-row.ts index d8abefe0da..8bf4b1abbd 100644 --- a/src/panels/lovelace/components/hui-generic-entity-row.ts +++ b/src/panels/lovelace/components/hui-generic-entity-row.ts @@ -164,7 +164,8 @@ class HuiGenericEntityRow extends LitElement { } .info { margin-left: 16px; - flex: 1 0 60px; + margin-right: 8px; + flex: 1 0 30%; } .info, .info > * { @@ -181,7 +182,6 @@ class HuiGenericEntityRow extends LitElement { } .secondary, ha-relative-time { - display: block; color: var(--secondary-text-color); } state-badge {