From c78a7ac08919a0d2893faf48028fb52503d8c8ff Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 20 Jun 2026 23:30:26 -0700 Subject: [PATCH] Match profile group card sizing --- src/components/profile/ProfileIdentityRail.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/profile/ProfileIdentityRail.tsx b/src/components/profile/ProfileIdentityRail.tsx index c916c59d..af0aff10 100644 --- a/src/components/profile/ProfileIdentityRail.tsx +++ b/src/components/profile/ProfileIdentityRail.tsx @@ -93,7 +93,7 @@ interface ProfileIdentityRailProps { } const RAIL_CAMPAIGN_LIMIT = 2; -const RAIL_ORG_LIMIT = 4; +const RAIL_ORG_LIMIT = 2; /** * ProfileIdentityRail — the left rail of the two-column profile. @@ -798,8 +798,8 @@ function RailOrganizationsSection({ pubkey }: { pubkey: string }) { return (
} title={t('profile.sections.groups')} /> -
- {Array.from({ length: 2 }).map((_, i) => ( +
+ {Array.from({ length: RAIL_ORG_LIMIT }).map((_, i) => ( ))}
@@ -819,7 +819,7 @@ function RailOrganizationsSection({ pubkey }: { pubkey: string }) { title={t('profile.sections.groups')} count={orgs.length} /> -
+
{shown.map((entry) => ( ))}