diff --git a/src/panels/lovelace/views/hui-view-background.ts b/src/panels/lovelace/views/hui-view-background.ts index 2914af1c1ab2..bf322b4170ba 100644 --- a/src/panels/lovelace/views/hui-view-background.ts +++ b/src/panels/lovelace/views/hui-view-background.ts @@ -102,7 +102,7 @@ export class HUIViewBackground extends LitElement { position: fixed; background-attachment: scroll !important; } - :host(:not(fixed-background)) { + :host(:not([fixed-background])) { z-index: -1; position: absolute; }