Skip to content

Commit c845ab7

Browse files
committed
Set the app height correctly
1 parent 1183b3a commit c845ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composables/useRoot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const updateAppHeight = () => {
77
if (isClient && window.visualViewport) {
88
const actualHeight = window.visualViewport.scale * window.visualViewport.height
99

10-
document.documentElement.style.setProperty('--app-height', `calc(${actualHeight}px - 1px)`)
10+
document.documentElement.style.setProperty('--app-height', `${actualHeight}px`)
1111
}
1212
}
1313

0 commit comments

Comments
 (0)