From c786d2654231fae279f09f7161da4fefae36a4dc Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Mon, 3 Feb 2025 10:07:11 +0300 Subject: [PATCH] Fix for "Increase generic entity row touch target (3): climate entities (#24002) return to max-height + set vertical alignment --- src/panels/lovelace/components/hui-generic-entity-row.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } `; }