govin 4e2e3abc30 frontend: let the paper's paragraph rows span the panel
The writing surface was capped at 900px and centred, on the reasoning that a
narrower text column reads better. That is true of a document viewer, but this
page is also the editing surface: each paragraph's heading sits on the left of
its row and its edit button on the right, and capping the sheet left those two
floating in the middle of the panel — 385px of nothing on each side at 1920,
and worse on a wider screen. It reads as a broken layout, not a measure.

The sheet now fills the card. Measured in a browser at 2560/1920/1440/1280/1024
wide, the row spans the panel with a 37px inset on both sides at every width,
the edit button lands on the right inset, and nothing overflows horizontally.

Note for later: prose now uses the full width too, which is 106 字/行 at 1920
and 149 字/行 at 2560. If that proves too long to read comfortably, the fix is
a max-width on `.paragraph-body` alone — the heading, the edit button and the
row's hover highlight would stay full width.
2026-09-18 18:47:50 +08:00
2026-09-15 03:04:50 +08:00
S
Description
No description provided
Readme 541 KiB
Languages
Python 62.3%
Vue 29.1%
TypeScript 6.6%
CSS 1.8%
Mako 0.1%