Skip to content

Commit

Permalink
fix org list padding
Browse files Browse the repository at this point in the history
  • Loading branch information
xvvvyz committed Oct 30, 2024
1 parent 1c19281 commit 0e6bfe3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/_components/account-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const AccountMenu = ({ user, teams }: AccountMenuProps) => {
return (
<Drawer.ButtonGroup key={team.id}>
<Drawer.Button
className="pr-14"
loading={isLoading}
onClick={(e) => {
e.preventDefault();
Expand All @@ -95,7 +96,7 @@ const AccountMenu = ({ user, teams }: AccountMenuProps) => {
id={team.id}
/>
)}
<span className="truncate">{team.name}</span>
<div className="truncate">{team.name}</div>
<div
className={twMerge(
'-ml-2 shrink-0 rounded-sm border border-alpha-1 bg-alpha-1 px-1 text-xs text-fg-4',
Expand All @@ -112,7 +113,7 @@ const AccountMenu = ({ user, teams }: AccountMenuProps) => {
{((team.id === activeTeam?.id &&
!isChangeTeamsTransitioning) ||
isLoading) && (
<CheckIcon className="ml-auto mr-9 w-5 shrink-0" />
<CheckIcon className="ml-auto w-5 shrink-0" />
)}
</Drawer.Button>
<Drawer.NestedRoot>
Expand Down

0 comments on commit 0e6bfe3

Please sign in to comment.