Skip to content

Commit 916b526

Browse files
committed
Use scroll lock styles from webawesome
1 parent ec1b659 commit 916b526

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/resources/theme/wa.globals.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { css } from "lit";
2+
import scrollLockStyles from "@home-assistant/webawesome/dist/styles/utilities/scroll-lock.css.js";
23
import { extractDerivedVars } from "../../common/style/derived-css-vars";
34

45
export const waMainStyles = css`
@@ -18,6 +19,8 @@ export const waMainStyles = css`
1819
--wa-border-width-l: var(--ha-border-radius-l);
1920
--wa-space-xl: 32px;
2021
}
22+
23+
${scrollLockStyles}
2124
`;
2225

2326
export const waMainDerivedVariables = extractDerivedVars(waMainStyles);

0 commit comments

Comments
 (0)