diff --git a/src/panels/lovelace/components/hui-generic-entity-row.ts b/src/panels/lovelace/components/hui-generic-entity-row.ts index b166eeab77..1b7b2ac587 100644 --- a/src/panels/lovelace/components/hui-generic-entity-row.ts +++ b/src/panels/lovelace/components/hui-generic-entity-row.ts @@ -200,9 +200,8 @@ export class HuiGenericEntityRow extends LitElement { padding-inline-start: 16px; padding-inline-end: 8px; flex: 1 1 30%; - } - .info:not(:has(.secondary)) { - line-height: 40px; + min-height: 40px; + align-content: center; } .info, .info > * { @@ -236,7 +235,8 @@ export class HuiGenericEntityRow extends LitElement { } .value { direction: ltr; - line-height: 40px; + min-height: 40px; + align-content: center; } `; }