style(web): 文件管理目录树改成与主面板同款卡片(FIX-7)
目录树放进同背景、边框、圆角的卡片,两卡间距与上下边缘对齐;头部「目录」+ 折叠钮与工具栏第一行等高, 折叠钮从主面板工具栏挪到这里;拖宽与折叠记忆保留,手机抽屉不变。 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
3c17fa3356
commit
faf1552607
2 files changed
+62
-69
No files matched your search
@@ -61,7 +61,7 @@ export function DirTree({
|
||||
<nav aria-label="登记目录" className={cn("space-y-4", className)}>
|
||||
{groups.map((g) => (
|
||||
<section key={g.title} aria-label={g.title}>
|
||||
<p className="mb-1 px-2 text-micro font-semibold tracking-[0.15em] text-muted-foreground uppercase">
|
||||
<p className="mb-1 px-2 text-micro font-semibold tracking-[0.15em] text-muted-foreground/75 uppercase">
|
||||
{g.title}
|
||||
</p>
|
||||
<div className="space-y-0.5">
|
||||
|
||||
Reference in new issue
Block a user