mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix menu z-index
This commit is contained in:
@ -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>}
|
{!collapsed && <span className="ml-2 text-lg font-medium text-slate-800 dark:text-gray-200 shrink truncate">{title}</span>}
|
||||||
</div>
|
</div>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<Menu placement="bottom-start">
|
<Menu placement="bottom-start" size="sm" style={{ zIndex: "9999" }}>
|
||||||
<MenuItem onClick={handleSignOut}>
|
<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>
|
<span className="truncate">{t("common.sign-out")}</span>
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
</Menu>
|
</Menu>
|
||||||
|
Reference in New Issue
Block a user