~bigbes/sr-ht-compare: 9df88758

web: tighten diff and file-tree spacing

Address three spacing complaints in the compare view:

- File tree: switch @pierre/trees to the "compact" density preset (24px
  rows, 0.8 factor) so folder/child rows read as a dense index rather
  than an airy list.
- Diff blocks: drop the inter-file gap (.diff-file margin-bottom
  1rem -> .5rem) and the tree/diff column gap (1rem -> .75rem).
- File tree height: size the mount to its content height (capped at the
  viewport) instead of always filling the viewport, removing the band of
  empty tree background below the last file. Re-measures on resize and on
  every tree change (expand/collapse) via tree.subscribe.

Rebuilt and re-hashed the embedded bundle and stylesheet.

bigbes <bigbes@gmail.com> — 2026-07-19 07:22:36 UTC

Commit 9df88758b3964d70c568f5675bee9a775bb85d70view raw patch

Parent(s): 5ca23c05

4 changed file(s)

FileStatus+
frontend/src/app.ts M +40 -6
scss/main.scss M +5 -2
web/static/bundle.3e3b8462.jsweb/static/bundle.28edbb26.js R +1 -1
web/static/main.min.40b0a852.cssweb/static/main.min.bebd3278.css R +1 -1