From 028472fc7bd08311801c5085075a727b909563e6 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Thu, 30 Jan 2025 15:26:11 +0300 Subject: [PATCH] Fix for "Increase generic entity row touch target" (#23953) fix for "touch target" --- src/panels/lovelace/components/hui-generic-entity-row.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/panels/lovelace/components/hui-generic-entity-row.ts b/src/panels/lovelace/components/hui-generic-entity-row.ts index dfa86f40f5..95d286d063 100644 --- a/src/panels/lovelace/components/hui-generic-entity-row.ts +++ b/src/panels/lovelace/components/hui-generic-entity-row.ts @@ -201,9 +201,7 @@ export class HuiGenericEntityRow extends LitElement { padding-inline-end: 8px; flex: 1 1 30%; min-height: 40px; - display: flex; - flex-direction: column; - justify-content: center; + line-height: 40px; } .info, .info > * { @@ -238,8 +236,7 @@ export class HuiGenericEntityRow extends LitElement { .value { direction: ltr; min-height: 40px; - display: flex; - align-items: center; + line-height: 40px; } `; }