Skip to content

Commit 75d6444

Browse files
committed
kaizen updates
1 parent 98531b5 commit 75d6444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kaizen-core/helpers/root-variables/h-root-variables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const hRootVariablesHandler = () => {
77
document.documentElement.style.setProperty(
88
'--viewport-width',
9-
`${window.innerWidth}px`,
9+
`${document.documentElement.clientWidth}px`,
1010
);
1111
document.documentElement.style.setProperty(
1212
'--viewport-height',

0 commit comments

Comments
 (0)