Skip to content

Commit f27dc7b

Browse files
committed
added visual indicator to resize panes
1 parent b63bf6b commit f27dc7b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -950,9 +950,9 @@ <h2 class="text-2xl font-bold mb-2" style="color: var(--text-primary);" x-text="
950950
x-show="viewMode === 'split'"
951951
@mousedown="startSplitResize($event)"
952952
class="split-resize-handle"
953-
style="width: 4px; cursor: col-resize; background-color: transparent; transition: background-color 0.2s; position: relative; z-index: 10;"
954-
@mouseover="$el.style.backgroundColor='var(--accent-primary)'"
955-
@mouseout="if(!isResizingSplit) $el.style.backgroundColor='transparent'"
953+
style="width: 6px; cursor: col-resize; background: linear-gradient(90deg, transparent 0%, var(--border-secondary) 50%, transparent 100%); transition: all 0.2s; position: relative; z-index: 10; opacity: 0.5;"
954+
@mouseover="$el.style.opacity='1'; $el.style.background='var(--accent-primary)'"
955+
@mouseout="if(!isResizingSplit) { $el.style.opacity='0.5'; $el.style.background='linear-gradient(90deg, transparent 0%, var(--border-secondary) 50%, transparent 100%)' }"
956956
></div>
957957

958958
<!-- Preview -->

0 commit comments

Comments
 (0)