Skip to content

Commit e994c86

Browse files
ux(mobile): tighten hero and Hall of Fame spacing
Made-with: Cursor
1 parent ca2b6c9 commit e994c86

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

src/app/globals.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ a.subpage-inline-mail {
545545
main { padding-left: 16px !important; padding-right: 16px !important; }
546546
.page-shell-main {
547547
min-height: 100svh;
548-
padding-top: calc(env(safe-area-inset-top) + 36px) !important;
548+
padding-top: calc(env(safe-area-inset-top) + 30px) !important;
549549
}
550550

551551
/* Certificate wrapper spacing only; scale is handled in CertificateCard.tsx */
@@ -573,7 +573,7 @@ a.subpage-inline-mail {
573573
}
574574

575575
/* Hero: keep CTA above the fold on small screens */
576-
.page-hero { padding-top: 14px; padding-bottom: 10px; }
576+
.page-hero { padding-top: 10px; padding-bottom: 10px; }
577577
.page-hero-emoji { font-size: clamp(48px, 13vw, 62px); margin-bottom: 6px; }
578578
.page-hero-title { font-size: clamp(2.4rem, 12vw, 3.2rem); margin: 4px 0 8px; }
579579
.page-hero-sub { font-size: 13px; }
@@ -582,12 +582,16 @@ a.subpage-inline-mail {
582582
.recent-marquee {
583583
padding-left: 16px !important;
584584
padding-right: 16px !important;
585-
height: 284px !important;
585+
height: 268px !important;
586586
-webkit-mask-image: linear-gradient(to right, transparent, black 18px, black calc(100% - 18px), transparent) !important;
587587
mask-image: linear-gradient(to right, transparent, black 18px, black calc(100% - 18px), transparent) !important;
588588
}
589589
.recent-card {
590-
height: 230px !important;
590+
height: 214px !important;
591+
}
592+
593+
.homepage-recent-wrap {
594+
margin-top: 14px !important;
591595
}
592596

593597
.input-button-wrapper {

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function HomePage() {
187187
)}
188188

189189
{idle && (
190-
<div style={{ width: '100%', marginTop: '56px' }}>
190+
<div className="homepage-recent-wrap" style={{ width: '100%', marginTop: '28px' }}>
191191
<RecentlyBuried onSelect={handleSelect} />
192192
</div>
193193
)}

0 commit comments

Comments
 (0)