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); + }