Fix cramped host card layout on Nuggets page; v2.0.3
Publish Container / docker (push) Successful in 12m59s
Publish Container / docker (push) Successful in 12m59s
- Restructure host card: image+name/role in a row header, bio spans full card width below - Widen hosts column from 300px max to 360px max - Add nuggets-host-card-header and nuggets-host-card-meta CSS classes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
334b455d25
commit
29d2ace1b2
4 files changed
+93
-87
No files matched your search
+7
-3
@@ -1933,9 +1933,13 @@ function NuggetsPage({ content }: { content: SiteContent }) {
|
||||
<div className="nuggets-hosts-list">
|
||||
{activeHosts.map(host => (
|
||||
<div key={host.id} className="nuggets-host-card">
|
||||
{host.imageUrl && <img src={host.imageUrl} alt={host.name} className="nuggets-host-card-img" loading="lazy" />}
|
||||
<h3 className="nuggets-host-card-name">{host.name}</h3>
|
||||
{host.role && <p className="nuggets-host-card-role">{host.role}</p>}
|
||||
<div className="nuggets-host-card-header">
|
||||
{host.imageUrl && <img src={host.imageUrl} alt={host.name} className="nuggets-host-card-img" loading="lazy" />}
|
||||
<div className="nuggets-host-card-meta">
|
||||
<h3 className="nuggets-host-card-name">{host.name}</h3>
|
||||
{host.role && <p className="nuggets-host-card-role">{host.role}</p>}
|
||||
</div>
|
||||
</div>
|
||||
{host.bio && <p className="nuggets-host-card-bio">{host.bio}</p>}
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user