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
parent
60b5c71031
commit
8f94e3f022
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue