mirror of
https://github.com/usememos/memos.git
synced 2025-02-21 05:40:57 +01:00
chore: fix menu z-index
This commit is contained in:
parent
374f3f7d96
commit
00c47a0673
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user