about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-09-06T21·10-0400
committerglittershark <grfn@gws.fyi>2020-09-14T21·37+0000
commit31b06516f315241c40ae0e6c3dd9dc7e641ea8dc (patch)
tree2d4f4c83f13bdfc2096f076fff7933120bdd7c47 /web
parent94c7990d578fea42c0b9b202e164f9a0460570b8 (diff)
fix(panettone): Make pre blocks overflow-x scroll r/1790
This prevents wide code blocks from displaying over the container
element.

Fixes: b/53
Change-Id: I44cb5ff4eddf4c01bb706069a68618382b0dc7ba
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1934
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'web')
-rw-r--r--web/panettone/src/css.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/panettone/src/css.lisp b/web/panettone/src/css.lisp
index 1a1536c3f0f3..5001d99feffc 100644
--- a/web/panettone/src/css.lisp
+++ b/web/panettone/src/css.lisp
@@ -44,7 +44,9 @@
   `((blockquote
      :border-left "5px" "solid" ,color/light-gray
      :padding-left "1rem"
-     :margin-left "0rem")))
+     :margin-left "0rem")
+    (pre
+     :overflow-x "scroll")))
 
 (defparameter issue-list-styles
   `((.issue-list