体验: 工作台改画布卡片式布局,toast提示移到右上角加彩色强调条更显眼

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
fenghp
2026-06-11 21:06:56 +08:00
co-authored by Cursor
parent 2768eafd93
commit fe8b23225a
7 changed files with 49 additions and 26 deletions
@@ -128,7 +128,7 @@ export function FolderItemsPanel({
})
return (
<section className="flex h-full min-w-0 flex-1 flex-col bg-background">
<section className="flex h-full min-w-0 flex-1 flex-col overflow-hidden rounded-xl border bg-card shadow-card">
<div className="flex h-9 shrink-0 items-center gap-2 border-b px-3">
<span className="shrink-0 text-xs text-muted-foreground">当前路径</span>
<span className="min-w-0 truncate font-mono text-xs">{selectedServerPath}</span>
@@ -172,7 +172,7 @@ export function FolderItemsPanel({
</div>
) : (
<Table>
<TableHeader className="sticky top-0 z-10 bg-background">
<TableHeader className="sticky top-0 z-10 bg-card">
<TableRow className="hover:bg-transparent">
<TableHead className="h-8 text-xs text-muted-foreground">名称</TableHead>
<TableHead className="h-8 w-24 text-xs text-muted-foreground">状态</TableHead>
@@ -129,7 +129,7 @@ export function SourceTreePanel({
)
return (
<aside className="flex h-full w-[280px] shrink-0 flex-col border-r bg-sidebar">
<aside className="flex h-full w-[280px] shrink-0 flex-col overflow-hidden rounded-xl border bg-card shadow-card">
<div className="flex h-9 shrink-0 items-center gap-2 border-b px-3">
<span className="text-[11px] font-medium tracking-wider text-muted-foreground uppercase">
源码目录