refactor(web): 工作区布局 - 侧栏与主区展开菜单取消阴影

- 侧栏切换器下拉浮层与主区 AntD 下拉/弹出菜单(账户菜单、公告中心)取消阴影,层级改由边框与背景对比表达
This commit is contained in:
sikongyue
2026-08-20 00:29:46 +08:00
parent 9beb4ab771
commit e1a2b9bc0d
2 changed files with 7 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ function WorkspaceSwitcher({ onNavigate }: { onNavigate: () => void }) {
{isOpen ? (
<>
<div className="fixed inset-0 z-40" onClick={() => setIsOpen(false)} />
<div className="app-workspace-nav-popover absolute left-3 right-3 top-full z-50 mt-1 overflow-hidden rounded-lg border border-[var(--workspace-border)] bg-[var(--workspace-surface-strong)] py-1 shadow-xl animate-in fade-in zoom-in-95 duration-100">
<div className="app-workspace-nav-popover absolute left-3 right-3 top-full z-50 mt-1 overflow-hidden rounded-lg border border-[var(--workspace-border)] bg-[var(--workspace-surface-strong)] py-1 animate-in fade-in zoom-in-95 duration-100">
<div className="px-3 py-2.5">
<div className="truncate text-[var(--fs-body)] font-semibold">影策</div>
<div className="mt-0.5 truncate text-[var(--fs-label)] text-foreground/45">创作工作台</div>