feat(theme): golden-ratio width cap for tag groups

This commit is contained in:
Ilia Mashkov
2026-07-14 10:35:35 +03:00
parent 1bd76d7061
commit 59304f4ae3
3 changed files with 11 additions and 2 deletions
@@ -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}