commit 7cb2afc71a8072b9b9831e3605c9aa9ee43d3e2b parent 74db4821bfe9273882ed316cbe392615838ecce7 Author: Drew DeVault <sir@cmpwn.com> Date: Tue, 20 Apr 2021 08:06:35 -0400 haredoc: add max-width on <pre> Diffstat:
M | cmd/haredoc/html.ha | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/cmd/haredoc/html.ha b/cmd/haredoc/html.ha @@ -322,6 +322,8 @@ pre { padding: 0.25rem 1rem; margin: 0 -1rem 1rem; font-size: 1.2rem; + max-width: calc(100% + 1rem); + overflow-x: auto; } pre .keyword {