fit intro page to viewport height with no scrollbar

Use height: 100vh with overflow: hidden, tighten gaps and padding.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
main
name 2026-04-11 20:07:43 -07:00
parent 60b5c71031
commit 8f94e3f022
1 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,13 @@
.root {
min-height: 100vh;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: radial-gradient(ellipse at 50% 40%, #1a0a2e 0%, #0a0a0a 70%);
color: white;
padding: 2rem;
padding: 1.5rem;
overflow: hidden;
box-sizing: border-box;
}
.inner {
@ -14,7 +16,7 @@
display: flex;
flex-direction: column;
align-items: center;
gap: 2.5rem;
gap: 2rem;
}
.header {