formatting

This commit is contained in:
7w1 committed 2026-07-20 14:56:11 -05:00
1 parent 25209edde4
commit a6dbee0099
1 file changed
+1 -2
+1 -2
View File
@@ -31,8 +31,7 @@ export function installIosPwaViewportHeight(): void {
const visibleBottom = visibleHeight + (viewport?.offsetTop ?? 0);
const screenHeight = fullScreenHeight();
const keyboardOpen =
isEditableFocused() && screenHeight - visibleHeight > MIN_KEYBOARD_HEIGHT;
const keyboardOpen = isEditableFocused() && screenHeight - visibleHeight > MIN_KEYBOARD_HEIGHT;
const height = keyboardOpen ? visibleBottom : screenHeight;
document.documentElement.style.setProperty(IOS_PWA_VIEWPORT_HEIGHT, `${Math.round(height)}px`);