summaryrefslogtreecommitdiff
path: root/src/content/live
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2026-09-08 21:10:11 -0300
committerEuAndreh <eu@euandre.org>2026-09-08 21:10:11 -0300
commit58bd1a38b54f77e43ff3a2379777d11d84969a74 (patch)
tree72207a35c23a04e4b71a83ac45ff054494ff8b01 /src/content/live
parentstyle.css: Take the indent from the nesting (diff)
downloadeuandre.org-58bd1a38b54f77e43ff3a2379777d11d84969a74.tar.gz
euandre.org-58bd1a38b54f77e43ff3a2379777d11d84969a74.tar.xz
style.css: Keep a long line inside the box that frames it
A code block wider than the column ran straight past its own border: the line it was too long for kept going to the edge of the page and past it, over the margin and out of the block it was supposed to be in. "pre { overflow: auto }" was already there and could not help. The line numbers sit in a table cell beside the code, and a table grows to fit what it holds, so the pre was never narrower than its longest line and so never had anything to scroll. The box scrolls instead, and the numbers are pinned so they stay where they are while the code moves under them. Seen on en/pastebin/2021/06/22/curl-wget.html, whose cloc tables rule off with eighty-odd dashes; it was there for any line past the column's width. 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