Skip to content

Commit c3c089d

Browse files
ux(home): tighten Hall of Fame card rhythm
Adjust line-height and spacing for better readability in the marquee cards. Made-with: Cursor
1 parent 3fc0f44 commit c3c089d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/RecentlyBuried.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ const Card = memo(function Card({ entry, count, placed, onSelect, onToggle }: Ca
102102
background: 'radial-gradient(ellipse at 50% 85%, rgba(45,122,60,0.22) 0%, rgba(45,122,60,0.10) 45%, transparent 70%)',
103103
borderRadius: '4px',
104104
}}>🪦</span>
105-
<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' }}>
105+
<span style={{ fontFamily: MONO, fontSize: '14px', fontWeight: 700, color: '#1a1a1a', lineHeight: 1.35, paddingBottom: '2px', wordBreak: 'break-word', display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden', width: '100%', paddingRight: '56px' }}>
106106
{entry.fullName}
107107
</span>
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' }}>
108+
<span className="recent-card-cause" style={{ fontFamily: MONO, fontSize: '12px', color: '#3d3832', lineHeight: 1.6, paddingBottom: '2px', fontWeight: 500, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
109109
{entry.cause}
110110
</span>
111111
{entry.lastWords && (
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' }}>
112+
<span className="recent-card-lastwords" style={{ fontFamily: MONO, fontSize: '11px', fontStyle: 'italic', color: '#7a7268', lineHeight: 1.6, paddingBottom: '2px', fontWeight: 400, display: '-webkit-box', WebkitLineClamp: 2, WebkitBoxOrient: 'vertical', overflow: 'hidden' }}>
113113
&ldquo;{entry.lastWords}&rdquo;
114114
</span>
115115
)}

0 commit comments

Comments
 (0)