From 89e31486c56cd653ff7cabf94f5b9760a3296924 Mon Sep 17 00:00:00 2001 From: Philip Allgaier Date: Mon, 4 Apr 2022 15:39:45 +0200 Subject: [PATCH] Ensure history entity picker wraps to next line on mobile (#12201) --- src/panels/history/ha-panel-history.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/panels/history/ha-panel-history.ts b/src/panels/history/ha-panel-history.ts index 076d2f02db..f47011d22a 100644 --- a/src/panels/history/ha-panel-history.ts +++ b/src/panels/history/ha-panel-history.ts @@ -253,6 +253,10 @@ class HaPanelHistory extends LitElement { padding: 8px 16px 0; } + :host([narrow]) .filters { + flex-wrap: wrap; + } + ha-date-range-picker { margin-right: 16px; max-width: 100%;