Skip to content

Commit 13d5f1e

Browse files
committed
fix: header button border
1 parent a680217 commit 13d5f1e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

apps/dashboard/src/app/components/Header/SecondaryNav/account-button.client.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,18 @@ export function AccountButton(props: {
2626
<DropdownMenuTrigger asChild>
2727
<Button
2828
size="icon"
29-
className="!p-0 !h-auto size-10 rounded-full hover:ring-2 hover:ring-offset-2"
29+
asChild
30+
className="size-10 rounded-full hover:ring-2 hover:ring-offset-2"
3031
variant="ghost"
3132
>
32-
{/* TODO - set account image */}
33-
<GradientAvatar id={props.account?.id} src={""} className="size-9" />
33+
<button>
34+
{/* TODO - set account image */}
35+
<GradientAvatar
36+
id={props.account?.id}
37+
src={""}
38+
className="size-9"
39+
/>
40+
</button>
3441
</Button>
3542
</DropdownMenuTrigger>
3643
<DropdownMenuContent className="w-[300px] rounded-lg p-0" align="end">

0 commit comments

Comments
 (0)