Skip to content

Commit 0d79392

Browse files
committed
fix: new invitation button zindex
Signed-off-by: Innei <i@innei.in>
1 parent 0cd1837 commit 0d79392

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/renderer/src/modules/settings/tabs/invitations.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ export const SettingInvitations = () => {
4646
<SettingsTitle />
4747
<div className="absolute inset-x-0 bottom-10 top-4 flex flex-col">
4848
<Tooltip>
49-
<TooltipTrigger>
49+
<TooltipTrigger asChild>
5050
<MotionButtonBase
5151
type="button"
5252
onClick={() => {
5353
newInvitation.mutate()
5454
}}
55-
className="center absolute bottom-0 right-2 size-10 rounded-full bg-accent text-white drop-shadow"
55+
className="center absolute bottom-0 right-2 z-10 size-10 rounded-full bg-accent text-white drop-shadow"
5656
>
5757
<i className="i-mingcute-user-add-2-line size-4" />
5858
</MotionButtonBase>
5959
</TooltipTrigger>
6060

6161
<TooltipContent>
62-
new invitation
62+
New invitation
6363
</TooltipContent>
6464
</Tooltip>
6565
<ScrollArea.ScrollArea scrollbarClassName="w-1" rootClassName="flex grow">

0 commit comments

Comments
 (0)