From 31b06516f315241c40ae0e6c3dd9dc7e641ea8dc Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Sun, 6 Sep 2020 17:10:14 -0400 Subject: fix(panettone): Make pre blocks overflow-x scroll 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 --- web/panettone/src/css.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web/panettone') 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 -- cgit 1.4.1