diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-03-01 11:49:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-03-01 11:49:55 +0900 |
| commit | 94f940cddc9ca39d484996616f9f4b322c1ff7f8 (patch) | |
| tree | 8694eb9984f9fb4a4f4c1bf312b7d202419e81c8 /package-lock.json | |
| parent | 5b72323964c3fa7a10377b363714f681b5ffa709 (diff) | |
| download | phperkaigi-2026-albatross-94f940cddc9ca39d484996616f9f4b322c1ff7f8.tar.gz phperkaigi-2026-albatross-94f940cddc9ca39d484996616f9f4b322c1ff7f8.tar.zst phperkaigi-2026-albatross-94f940cddc9ca39d484996616f9f4b322c1ff7f8.zip | |
fix(frontend): render line numbers before syntax highlighting to prevent layout shift
Show plaintext with Shiki-compatible line structure (.shiki > code > .line)
from the start, so CSS line-number counters apply immediately. This prevents
the popover from jittering when Shiki replaces the content. If Shiki fails,
the plaintext with line numbers remains as a natural fallback.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'package-lock.json')
0 files changed, 0 insertions, 0 deletions
