Skip to content

Commit bf4e203

Browse files
ux(mobile): add hero breathing room and simplify cards
Made-with: Cursor
1 parent e994c86 commit bf4e203

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/app/globals.css

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

551551
/* Certificate wrapper spacing only; scale is handled in CertificateCard.tsx */
@@ -594,6 +594,12 @@ a.subpage-inline-mail {
594594
margin-top: 14px !important;
595595
}
596596

597+
/* Hall of Fame cards: keep them punchy on mobile */
598+
.recent-card-cause,
599+
.recent-card-lastwords {
600+
display: none !important;
601+
}
602+
597603
.input-button-wrapper {
598604
flex-direction: column;
599605
}

src/components/RecentlyBuried.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,11 @@ const Card = memo(function Card({ entry, count, placed, onSelect, onToggle }: Ca
105105
<span style={{ fontFamily: MONO, fontSize: '14px', fontWeight: 700, color: '#1a1a1a', lineHeight: 1.3, wordBreak: 'break-word', display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden', width: '100%', paddingRight: '56px' }}>
106106
{entry.fullName}
107107
</span>
108-
<span style={{ fontFamily: MONO, fontSize: '12px', color: '#3d3832', lineHeight: 1.55, fontWeight: 500, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
108+
<span className="recent-card-cause" style={{ fontFamily: MONO, fontSize: '12px', color: '#3d3832', lineHeight: 1.55, fontWeight: 500, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
109109
{entry.cause}
110110
</span>
111111
{entry.lastWords && (
112-
<span style={{ fontFamily: MONO, fontSize: '11px', fontStyle: 'italic', color: '#7a7268', lineHeight: 1.5, fontWeight: 400, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
112+
<span className="recent-card-lastwords" style={{ fontFamily: MONO, fontSize: '11px', fontStyle: 'italic', color: '#7a7268', lineHeight: 1.5, fontWeight: 400, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
113113
&ldquo;{entry.lastWords}&rdquo;
114114
</span>
115115
)}

0 commit comments

Comments
 (0)