Skip to content

Commit 6775cd3

Browse files
committed
Remove max-w-md from Members page
1 parent 4bdcdef commit 6775cd3

File tree

1 file changed

+11
-8
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.team

1 file changed

+11
-8
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.team/route.tsx

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,18 @@ export default function Page() {
164164
<PageBody>
165165
<MainHorizontallyCenteredContainer>
166166
<Header2>
167-
Members ({limits.used}/{limits.limit})
167+
Members{" "}
168+
<span className="font-normal text-text-dimmed">
169+
({limits.used}/{limits.limit})
170+
</span>
168171
</Header2>
169-
<ul className="divide-ui-border flex w-full max-w-md flex-col divide-y border-b border-grid-bright">
172+
<ul className="divide-ui-border mt-3 flex w-full flex-col divide-y border-y border-grid-bright">
170173
{members.map((member) => (
171174
<li key={member.user.id} className="flex items-center gap-x-4 py-4">
172175
<UserAvatar
173176
avatarUrl={member.user.avatarUrl}
174177
name={member.user.name}
175-
className="h-10 w-10"
178+
className="size-10"
176179
/>
177180
<div className="flex flex-col gap-0.5">
178181
<Header3>
@@ -194,8 +197,8 @@ export default function Page() {
194197

195198
{invites.length > 0 && (
196199
<>
197-
<Header2 className="mt-4">Pending invites</Header2>
198-
<ul className="flex w-full max-w-md flex-col divide-y divide-charcoal-800 border-b border-charcoal-800">
200+
<Header2 className="mb-3 mt-4">Pending invites</Header2>
201+
<ul className="flex w-full flex-col divide-y divide-charcoal-800 border-b border-grid-bright">
199202
{invites.map((invite) => (
200203
<li key={invite.id} className="flex items-center gap-4 py-4">
201204
<div className="rounded-md border border-charcoal-750 bg-charcoal-800 p-1.5">
@@ -225,18 +228,18 @@ export default function Page() {
225228
title="Unlock more team members"
226229
to={v3BillingPath(organization)}
227230
buttonLabel="Upgrade"
228-
panelClassName="mt-4 max-w-sm"
231+
panelClassName="mt-4"
229232
>
230233
<Paragraph variant="small">
231234
You've used all {limits.limit} of your available team members. Upgrade your plan to
232235
enable more.
233236
</Paragraph>
234237
</InfoPanel>
235238
) : (
236-
<div className="mt-4 flex max-w-md justify-end">
239+
<div className="mt-4 flex justify-end">
237240
<LinkButton
238241
to={inviteTeamMemberPath(organization)}
239-
variant={"primary/small"}
242+
variant={"secondary/small"}
240243
LeadingIcon={UserPlusIcon}
241244
>
242245
Invite a team member

0 commit comments

Comments
 (0)