fix: align file icons with folder icons in export file tree
Change file row outer gap from gap-2 (8px) to gap-1 (4px) to match the directory row grid gap-x-1, so file and folder icons line up vertically. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
3c31e379a1
commit
5b44dbe9c4
1 changed files with 1 additions and 1 deletions
|
|
@ -510,7 +510,7 @@ function ExportFileTree({
|
||||||
<div
|
<div
|
||||||
key={node.path}
|
key={node.path}
|
||||||
className={cn(
|
className={cn(
|
||||||
"flex w-full items-center gap-2 pr-3 text-left text-sm text-muted-foreground hover:bg-accent/30 hover:text-foreground cursor-pointer",
|
"flex w-full items-center gap-1 pr-3 text-left text-sm text-muted-foreground hover:bg-accent/30 hover:text-foreground cursor-pointer",
|
||||||
TREE_ROW_HEIGHT_CLASS,
|
TREE_ROW_HEIGHT_CLASS,
|
||||||
node.path === selectedFile && "text-foreground bg-accent/20",
|
node.path === selectedFile && "text-foreground bg-accent/20",
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue