We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98531b5 commit 75d6444Copy full SHA for 75d6444
packages/kaizen-core/helpers/root-variables/h-root-variables.js
@@ -6,7 +6,7 @@
6
const hRootVariablesHandler = () => {
7
document.documentElement.style.setProperty(
8
'--viewport-width',
9
- `${window.innerWidth}px`,
+ `${document.documentElement.clientWidth}px`,
10
);
11
12
'--viewport-height',
0 commit comments