From 8e4ceb7d489d66589483cc2d949e7a8b1f2734c0 Mon Sep 17 00:00:00 2001 From: Zack Barett Date: Wed, 2 Dec 2020 10:08:18 -0600 Subject: [PATCH] Fix View Background Colors (#7823) --- src/panels/lovelace/hui-root.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/panels/lovelace/hui-root.ts b/src/panels/lovelace/hui-root.ts index 49faa0dcf1..fcb491068d 100644 --- a/src/panels/lovelace/hui-root.ts +++ b/src/panels/lovelace/hui-root.ts @@ -793,10 +793,6 @@ class HUIRoot extends LitElement { ha-app-layout { min-height: 100%; - background: var( - --lovelace-background, - var(--primary-background-color) - ); } ha-tabs { width: 100%; @@ -884,6 +880,12 @@ class HUIRoot extends LitElement { .menu-link { text-decoration: none; } + hui-view { + background: var( + --lovelace-background, + var(--primary-background-color) + ); + } `, ]; }