Skip to content

Commit b5d6116

Browse files
ux(mobile): increase hero top spacing and shrink cards
Made-with: Cursor
1 parent 980cf86 commit b5d6116

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/app/globals.css

Lines changed: 3 additions & 3 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) + 40px) !important;
548+
padding-top: calc(env(safe-area-inset-top) + 64px) !important;
549549
}
550550

551551
/* Certificate wrapper spacing only; scale is handled in CertificateCard.tsx */
@@ -582,12 +582,12 @@ a.subpage-inline-mail {
582582
.recent-marquee {
583583
padding-left: 16px !important;
584584
padding-right: 16px !important;
585-
height: 268px !important;
585+
height: 214px !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: 214px !important;
590+
height: 164px !important;
591591
}
592592

593593
.homepage-recent-wrap {

src/components/RecentlyBuried.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const Card = memo(function Card({ entry, count, placed, onSelect, onToggle }: Ca
5252
alignItems: 'flex-start',
5353
gap: '8px',
5454
width: 'clamp(260px, 76vw, 320px)',
55-
height: '250px',
55+
height: '200px',
5656
flexShrink: 0,
5757
padding: '18px 20px',
5858
background: '#EDE8E1',

0 commit comments

Comments
 (0)