aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-03-01 11:49:55 +0900
committernsfisis <nsfisis@gmail.com>2026-03-01 11:49:55 +0900
commit94f940cddc9ca39d484996616f9f4b322c1ff7f8 (patch)
tree8694eb9984f9fb4a4f4c1bf312b7d202419e81c8 /.github
parent5b72323964c3fa7a10377b363714f681b5ffa709 (diff)
downloadphperkaigi-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 '.github')
0 files changed, 0 insertions, 0 deletions