Skip to content

Commit 938fd39

Browse files
fix: min width for groups in home
1 parent 5035772 commit 938fd39

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

src/components/home/GroupsSection.astro

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ const { groups } = Astro.props
1313
const t = groupsT[LANG]
1414
---
1515

16-
<section
17-
id="grupos"
18-
class="reveal py-20"
19-
style="--reveal-delay: 60ms;"
20-
>
16+
<section id="grupos" class="reveal py-20" style="--reveal-delay: 60ms;">
2117
<div class="vt-content-shell">
2218
<header class="mb-6 text-center">
2319
<h2 class="font-headline text-3xl tracking-tight sm:text-5xl">
@@ -26,13 +22,9 @@ const t = groupsT[LANG]
2622
</header>
2723

2824
<div
29-
class="grid gap-3 [grid-template-columns:repeat(auto-fit,minmax(180px,1fr))]"
25+
class="grid gap-3 [grid-template-columns:repeat(auto-fit,minmax(260px,1fr))]"
3026
>
31-
{
32-
groups.map((group) => (
33-
<GroupCard group={group} compact={true} />
34-
))
35-
}
27+
{groups.map((group) => <GroupCard group={group} compact={true} />)}
3628
</div>
3729
</div>
3830
</section>

0 commit comments

Comments
 (0)