summaryrefslogtreecommitdiff
path: root/src/content/l/multiline-sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-09-08 21:27:17 -0300
committerEuAndreh <eu@euandre.org>2026-09-08 21:27:17 -0300
commit1472988f6220141e509d1e516a69e0d98e16b224 (patch)
tree16d6c6b9ae7be5b3b0df29ed3c2c4fc1a7d4cf06 /src/content/l/multiline-sh
parentstyle.css: Let the numbers scroll with the code (diff)
downloadeuandre.org-1472988f6220141e509d1e516a69e0d98e16b224.tar.gz
euandre.org-1472988f6220141e509d1e516a69e0d98e16b224.tar.xz
style.css: Keep the numbers still by taking them out of the scroll
The numbers left with the code because they were inside the box that scrolls. Pinning them there was tried first and taken out: nothing uncovers them, but a scroll draws the two out of step for a frame and the code is seen crossing them. The answer is that only the code should scroll. That needs the cell holding it to be allowed to be narrower than what it holds, and a table is free to ignore being told so --- Firefox does, and the block goes back to not containing its own lines. A row laid out as a flex line is not free to ignore it: min-width there is honoured, the code gets a box smaller than its content, and the numbers beside it are not in that box at all. Nothing to pin, so nothing to fall behind. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KxLpaNQThKfMG3ecCJptP9
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions