Skip to content

Commit 1308c68

Browse files
author
Vianpyro
committed
Adjust body height calculation for improved layout consistency
1 parent 0a233f0 commit 1308c68

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/layouts/Main.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ const { canSearch = false } = Astro.props || {}
3232
<style>
3333
html,
3434
body {
35-
height: 100svh;
36-
margin: 0;
35+
height: calc(100svh - 4px);
3736
width: 100%;
3837
}
3938

0 commit comments

Comments
 (0)