mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-27 00:03:50 +00:00
feat(vcs): reorder Git log columns by dragging headers (#1856)
The Git Log column order was fixed. Column headers can now be dragged to any position, including the commit column, with an insertion line showing where the column lands. It uses pointer events because WebView2 intercepts HTML5 drag events, and the order persists across restarts. Siblings covered: Esc or losing the window cancels a drag and releases pointer capture, and keyboard column moves skip hidden columns. Co-authored-by: muutot <92625353+muutot@users.noreply.github.com>
This commit is contained in:
@@ -207,6 +207,17 @@
|
||||
position: relative;
|
||||
padding-inline-end: 6px;
|
||||
cursor: grab;
|
||||
touch-action: none;
|
||||
}
|
||||
.columnHeading.dragSource {
|
||||
cursor: grabbing;
|
||||
opacity: 0.6;
|
||||
}
|
||||
.columnHeading.dropBefore {
|
||||
box-shadow: inset 2px 0 0 var(--accent);
|
||||
}
|
||||
.columnHeading.dropAfter {
|
||||
box-shadow: inset -2px 0 0 var(--accent);
|
||||
}
|
||||
.columnResize {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user