Resize the details column by dragging its edge

Like the thread list: drag to resize, right-click to reset, kept as
detailsWidth in layout.json. The conversation keeps its minimum width; a
dragged width gives way to it before the panel goes in place.
This commit is contained in:
Callum Alpass committed 2026-11-03 01:49:12 +11:00
1 parent 9702c31e62
commit bbf8ff49e1
4 files changed
+57 -21

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ export function wheelStep(event: MouseEvent): -1 | 0 | 1 {
}
/**
* The 1-column drag target between the list and the conversation. At rest it is invisible
* The 1-column drag target between the conversation and the list or details. At rest it is invisible
* (the panel/background shade change is the edge, and the bar is drawn in the background
* colour, which also keeps it findable on screen for tests); under the pointer or while
* dragging it shows as an accent bar. OpenTUI sends a drag to whatever is under the