Skip to content

Commit

Permalink
chore: fix menu z-index
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Feb 3, 2024
1 parent 374f3f7 commit 00c47a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/components/UserBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const UserBanner = (props: Props) => {
{!collapsed && <span className="ml-2 text-lg font-medium text-slate-800 dark:text-gray-200 shrink truncate">{title}</span>}
</div>
</MenuButton>
<Menu placement="bottom-start">
<Menu placement="bottom-start" size="sm" style={{ zIndex: "9999" }}>
<MenuItem onClick={handleSignOut}>
<Icon.LogOut className="w-5 h-auto opacity-60 shrink-0" />
<Icon.LogOut className="w-4 h-auto opacity-60 shrink-0" />
<span className="truncate">{t("common.sign-out")}</span>
</MenuItem>
</Menu>
Expand Down

0 comments on commit 00c47a0

Please sign in to comment.