From 0aea6141adb2a3910737d7e725c2b5214970e501 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 31 Jan 2025 09:41:38 +0300 Subject: [PATCH] Fix for "Increase generic entity row touch target (2) (#23973) * Revert "Fix for "Increase generic entity row touch target" (#23953)" This reverts commit 028472fc7bd08311801c5085075a727b909563e6. * conditional style --- 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 95d286d063..b166eeab77 100644 --- a/src/panels/lovelace/components/hui-generic-entity-row.ts +++ b/src/panels/lovelace/components/hui-generic-entity-row.ts @@ -200,7 +200,8 @@ export class HuiGenericEntityRow extends LitElement { padding-inline-start: 16px; padding-inline-end: 8px; flex: 1 1 30%; - min-height: 40px; + } + .info:not(:has(.secondary)) { line-height: 40px; } .info, @@ -235,7 +236,6 @@ export class HuiGenericEntityRow extends LitElement { } .value { direction: ltr; - min-height: 40px; line-height: 40px; } `;