From 9babd73e152505f6f6bf2d61bced26ff084884a1 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Sat, 6 Jun 2026 09:13:57 +0100 Subject: [PATCH] refac --- .../frontend/src/lib/components/GitBar.svelte | 24 +++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/cptr/frontend/src/lib/components/GitBar.svelte b/cptr/frontend/src/lib/components/GitBar.svelte index b44dbac..6c9dafb 100644 --- a/cptr/frontend/src/lib/components/GitBar.svelte +++ b/cptr/frontend/src/lib/components/GitBar.svelte @@ -311,11 +311,12 @@ {#if gitStatus?.is_repo}
- + {#if expanded}
{/if} @@ -490,8 +491,7 @@ {/if} {#if fp.dir} - - { e.stopPropagation(); openFileTab(workspacePath.replace(/\/$/, '') + '/' + file.path); }}>{fp.dir} + {fp.dir} {/if} { e.stopPropagation(); openFileTab(workspacePath.replace(/\/$/, '') + '/' + file.path); }}>{fp.name} @@ -650,4 +650,20 @@ transparent 3px ) 3; } + + .git-resize-handle { + position: absolute; + top: -3px; + left: 0; + right: 0; + height: 6px; + cursor: row-resize; + z-index: 10; + transition: background 0.15s; + } + + .git-resize-handle:hover, + .git-resize-handle.active { + background: rgba(150, 150, 150, 0.12); + }