Skip to content

Commit be29115

Browse files
committed
Improved the typography layout of the org name and small links
1 parent fceec45 commit be29115

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

apps/webapp/app/components/navigation/SideMenu.tsx

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -318,22 +318,23 @@ function ProjectSelector({
318318
<div className="box-content size-10 overflow-clip rounded-sm bg-charcoal-800">
319319
<Avatar avatar={organization.avatar} className="size-10" includePadding />
320320
</div>
321-
<div className="space-y-[0.3125rem]">
322-
<Paragraph variant="extra-small/bright">{organization.title}</Paragraph>
323-
<div className="flex items-baseline">
321+
<div className="space-y-0.5">
322+
<Paragraph variant="small/bright">{organization.title}</Paragraph>
323+
<div className="flex items-baseline gap-2">
324324
{plan && (
325-
<Paragraph variant="extra-small">
326-
<TextLink variant="secondary" to={v3BillingPath(organization)}>
327-
{plan}
328-
</TextLink>
329-
</Paragraph>
330-
)}
331-
<Paragraph variant="extra-small">
332325
<TextLink
333326
variant="secondary"
334-
to={organizationTeamPath(organization)}
335-
>{simplur`${organization.membersCount} member[|s]`}</TextLink>
336-
</Paragraph>
327+
className="text-xs"
328+
to={v3BillingPath(organization)}
329+
>
330+
{plan}
331+
</TextLink>
332+
)}
333+
<TextLink
334+
variant="secondary"
335+
className="text-xs"
336+
to={organizationTeamPath(organization)}
337+
>{simplur`${organization.membersCount} member[|s]`}</TextLink>
337338
</div>
338339
</div>
339340
</div>

0 commit comments

Comments
 (0)