Commit 123a6ef
committed
fix: prevent register page from forcing scroll on short viewports
The .register section had min-height: 80vh, which combined with the
marketing layout's header and footer pushed total page height past 100vh
on shorter viewports, causing the page to scroll even when the card
content fit comfortably.
Make the marketing main element a flex column so the register section
can flex: 1 to fill remaining space without overflowing the viewport.
Closes #301 parent e06bf35 commit 123a6ef
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
0 commit comments