feat(ui): context-sensitive z key (focus mode)

- Nothing selected: z toggles zen (hide both panels)
- Item selected: z expands peek to full width (focus mode)
- z again or Esc exits focus mode and deselects
- j/k still cycle items while in focus mode
This commit is contained in:
2026-05-16 20:46:23 -04:00
parent 0316076bf8
commit ff190e395b
2 changed files with 28 additions and 0 deletions
+5
View File
@@ -193,6 +193,11 @@ main.hide-peek #detail-pane { overflow: hidden; border-left: none; min-width: 0;
main.hide-rail .resize-handle[data-panel="rail"] { visibility: hidden; }
main.hide-peek .resize-handle[data-panel="peek"] { visibility: hidden; }
main.focus-peek { grid-template-columns: 0px 0px 0px 0px 1fr; }
main.focus-peek #tag-rail { overflow: hidden; border-right: none; min-width: 0; }
main.focus-peek #entity-panel { overflow: hidden; min-width: 0; }
main.focus-peek .resize-handle { visibility: hidden; }
.resize-handle {
cursor: col-resize;
background: transparent;