Skip to content

Commit

Permalink
more prominent invite section
Browse files Browse the repository at this point in the history
  • Loading branch information
a-type committed Nov 11, 2024
1 parent 4cb2e78 commit b103e41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion web/src/components/plan/InviteMember.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ export function InviteMember({}: InviteMemberProps) {
bag.resetForm();
toast.success('Invitation sent!');
}}
className="p-3"
>
<TextField name="email" label="Email" />
<SubmitButton>Invite</SubmitButton>
Expand Down
4 changes: 2 additions & 2 deletions web/src/components/plan/MembersAndInvitations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@a-type/ui/components/card';
import { useMutation, useSuspenseQuery, graphql } from '@biscuits/graphql';
import { InviteMember } from './InviteMember.js';
import { H2, H3 } from '@a-type/ui/components/typography';
import { H3 } from '@a-type/ui/components/typography';
import { ConfirmedButton } from '@a-type/ui/components/button';

const membersQuery = graphql(`
Expand Down Expand Up @@ -86,7 +86,7 @@ export function MembersAndInvitations() {
))}
</CardGrid>
{plan?.canInviteMore ?
<div className="py-4">
<div className="p-4 flex flex-col items-stretch gap-3 bg-accent-wash border-accent-dark border-1 border-solid rounded-lg">
<H3>Invite someone</H3>
<InviteMember />
</div>
Expand Down

0 comments on commit b103e41

Please sign in to comment.