Skip to content

Commit 79d569d

Browse files
committed
fix(layout): use 100svh for min-height on body instead of 100vh
Address a mobile layout issue where using 100vh caused unexpected behavior. Switching to 100svh resolves this problem by accounting for the mobile browser's UI components. This change ensures a consistent and improved user experience on smaller screens. resolves #127
1 parent d025c91 commit 79d569d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/styles/base.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
display: block;
3030
}
3131
body {
32-
@apply flex min-h-screen flex-col bg-skin-fill font-mono text-skin-base
32+
@apply flex min-h-[100svh] flex-col bg-skin-fill font-mono text-skin-base
3333
selection:bg-skin-accent selection:bg-opacity-70 selection:text-skin-inverted;
3434
}
3535
section,

0 commit comments

Comments
 (0)