fix: 用户退出登录区加bg-card不透明背景
This commit is contained in:
@@ -114,7 +114,7 @@ export function Layout({ children, user, onLogout }: LayoutProps) {
|
|||||||
))}
|
))}
|
||||||
</nav>
|
</nav>
|
||||||
{user && (
|
{user && (
|
||||||
<div className="absolute bottom-0 left-0 right-0 border-t p-3">
|
<div className="absolute bottom-0 left-0 right-0 border-t bg-card p-3">
|
||||||
<div className="mb-2 px-3 text-sm">
|
<div className="mb-2 px-3 text-sm">
|
||||||
<p className="font-medium">{user.name}</p>
|
<p className="font-medium">{user.name}</p>
|
||||||
<p className="text-xs text-muted-foreground">{user.role}</p>
|
<p className="text-xs text-muted-foreground">{user.role}</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user