From 822f47143b235ae147438eab6ff67968b7c74e2f Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 3 May 2023 10:59:36 +0200 Subject: [PATCH] keep expose entity dialog modal longer (#16389) --- .../config/voice-assistants/dialog-expose-entity.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/panels/config/voice-assistants/dialog-expose-entity.ts b/src/panels/config/voice-assistants/dialog-expose-entity.ts index 2f41470b49..17c56b2b85 100644 --- a/src/panels/config/voice-assistants/dialog-expose-entity.ts +++ b/src/panels/config/voice-assistants/dialog-expose-entity.ts @@ -176,7 +176,17 @@ class DialogExposeEntity extends LitElement { lit-virtualizer { height: 500px; } - @media all and (max-width: 500px), all and (max-height: 800px) { + @media all and (max-height: 800px) { + lit-virtualizer { + height: 334px; + } + } + @media all and (max-height: 600px) { + lit-virtualizer { + height: 238px; + } + } + @media all and (max-width: 500px), all and (max-height: 500px) { ha-dialog { --mdc-dialog-min-width: calc( 100vw - env(safe-area-inset-right) - env(safe-area-inset-left)