Skip to content

Commit 644f257

Browse files
committed
fix(home): reduce contributor wall density
1 parent ecccead commit 644f257

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

‎apps/web/src/pages/index.astro‎

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const contributorMap = new Map(
1414
contributorGroups.flatMap((group) => group.contributors.map((contributor) => [contributor.slug, contributor] as const)),
1515
);
1616
const contributors = [...contributorMap.values()];
17-
const contributorPreviewLimit = 14;
17+
const contributorPreviewLimit = 10;
1818
const contributorPreview = contributors.slice(0, contributorPreviewLimit);
1919
const liveWire = feed.dynamicFeed.slice(0, 6);
2020
const recentGeekDaily = feed.recentGeekDaily.slice(0, 3);
@@ -558,9 +558,9 @@ const liveWireTypeLabel = {
558558
gap: 1.15rem 0.95rem;
559559
align-items: start;
560560
justify-content: end;
561-
width: min(100%, 34rem);
561+
width: min(100%, 33rem);
562562
margin-left: auto;
563-
padding: 1.25rem 0.9rem 1.15rem 1rem;
563+
padding: 1.15rem 0.75rem 0.95rem 0.9rem;
564564
}
565565

566566
.contributors-cloud::before {
@@ -681,16 +681,6 @@ const liveWireTypeLabel = {
681681
margin-top: 0.1rem;
682682
}
683683

684-
.avatar-token:nth-child(11),
685-
.avatar-token:nth-child(13) {
686-
margin-top: 0.2rem;
687-
}
688-
689-
.avatar-token:nth-child(12),
690-
.avatar-token:nth-child(14) {
691-
margin-top: 0.05rem;
692-
}
693-
694684
@media (max-width: 960px) {
695685
.hero-highlights,
696686
.dispatch-grid,

0 commit comments

Comments
 (0)