mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 09:56:36 +00:00
Fix typo for fixed background attribute (#22707)
This commit is contained in:
parent
6e8c1f1a63
commit
f7103febdf
@ -47,7 +47,7 @@ class HuiViewContainer extends LitElement {
|
||||
|
||||
private _isFixedBackground(background?: BackgroundConfig) {
|
||||
if (typeof background === "string") {
|
||||
return background.includes(" fixed");
|
||||
return background.split(" ").includes("fixed");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -126,7 +126,7 @@ class HuiViewContainer extends LitElement {
|
||||
);
|
||||
background-attachment: scroll !important;
|
||||
}
|
||||
:host(:not(fixed-background)) {
|
||||
:host(:not([fixed-background])) {
|
||||
background: var(
|
||||
--view-background,
|
||||
var(--lovelace-background, var(--primary-background-color))
|
||||
|
Loading…
x
Reference in New Issue
Block a user