feat(theme): golden-ratio width cap for tag groups
This commit is contained in:
@@ -47,7 +47,8 @@ export function ProjectCard({ title, year, description, tags, url, imageUrl, pri
|
||||
<div className="flex flex-col gap-4">
|
||||
<p className="text-sm font-medium brutal-border-left pl-3">{year}</p>
|
||||
{tags.length > 0 && (
|
||||
<div className="flex flex-wrap gap-2">
|
||||
/* Golden-ratio cap for the stacked (top) tablet layout; full width on mobile, and lg sidebar is already width-constrained. */
|
||||
<div className="flex flex-wrap gap-2 sm:max-w-golden lg:max-w-none">
|
||||
{tags.map((tag) => (
|
||||
<Badge key={tag} variant="outline" size="xs">
|
||||
{tag}
|
||||
|
||||
Reference in New Issue
Block a user