From 165e2dda9081fb5ba32ca32484571b51435dd892 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Sat, 28 Mar 2026 17:09:41 -0700 Subject: [PATCH] style: reduce file & icon display size in sidebar views (#183) Shrink file entry rows in Source Control and File Explorer for a more compact sidebar: smaller icons, tighter gaps, reduced font sizes, and less left padding. --- .../components/right-sidebar/FileExplorer.tsx | 10 +++++----- .../right-sidebar/SourceControl.tsx | 20 +++++++++---------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/renderer/src/components/right-sidebar/FileExplorer.tsx b/src/renderer/src/components/right-sidebar/FileExplorer.tsx index ac4f1f205..fa3f31911 100644 --- a/src/renderer/src/components/right-sidebar/FileExplorer.tsx +++ b/src/renderer/src/components/right-sidebar/FileExplorer.tsx @@ -272,7 +272,7 @@ export default function FileExplorer(): React.JSX.Element { > {isLoading ? ( - + ) : isExpanded ? ( - + ) : ( - + )} > ) : ( <> - + > )} { const absolutePath = joinPath(worktreePath, entry.path) @@ -680,13 +680,13 @@ function UncommittedEntryRow({ }} onClick={onOpen} > - - + + {fileName} - {dirPath && {dirPath}} + {dirPath && {dirPath}} {STATUS_LABELS[entry.status]} @@ -747,16 +747,16 @@ function BranchEntryRow({ return ( - - + + {fileName} - {dirPath && {dirPath}} + {dirPath && {dirPath}} {STATUS_LABELS[entry.status]}