fix(web): only allow line selection via gutter click
Quentin Gliech
and
Claude Opus 4.6 (1M context)
created
Replace ::before pseudo-element with an actual <span> for line numbers,
injected by the Shiki transformer. Only the gutter span has
data-line-number, so clicking code text no longer triggers selection.
Gutter gets a hover state (opacity 0.4 → 0.8) for affordance.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>