Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed May 20, 2024
1 parent c9214e9 commit eba8610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
setVH();
window.onresize = setVH;
function setVH() {
const vh = window.outerHeight * 0.01;
const vh = window.innerHeight * 0.01;
document.documentElement.style.setProperty('--vh', `${vh}px`);
}
}
Expand Down

0 comments on commit eba8610

Please sign in to comment.