ZDDC/browse/css
ZDDC 49e8ea4b4f fix(browse): markdown editor shrinks instead of overhanging; pop out opens the real editor
- Overflow: the preview pane's child (the markdown shell) was a flex item with
  the default min-width:auto, so the editor's wide internal min-content pushed
  the whole pane past the viewport's right edge. Add min-width:0 on
  .preview-pane__body and its children so the editor shrinks (and its own +
  the grid's minmax(0) scrolling takes over) — the pane never overhangs.
- Pop out: editor-type files (markdown, yaml/.zddc, code text) were popped into
  the lightweight preview window, which can't host the bundled editor — so
  markdown showed as raw <pre>. Now they open the FULL browse app deep-linked
  to the file (<dir>?file=<name>) in a new window, loading the real editor.
  HTML keeps its rendered popup; images/pdf/office unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 11:56:36 -05:00
..
base.css refactor(browse): drop status-bar footer, route messages to toasts 2026-05-21 12:19:40 -05:00
history.css feat(browse): markdown version-history viewer with diff + restore 2026-05-28 12:49:00 -05:00
manage-access.css feat(browse): CodeMirror for all editable text files; drop the .zddc form; tidy access dialog 2026-06-08 10:18:31 -05:00
preview-yaml.css feat(browse): shared schema completion + hover docs; bring it to the .zddc editor 2026-06-08 09:18:07 -05:00
tree.css fix(browse): markdown editor shrinks instead of overhanging; pop out opens the real editor 2026-06-08 11:56:36 -05:00