From f1482b1dff68228cdf833db434503a08484633e5 Mon Sep 17 00:00:00 2001 From: developomp Date: Tue, 21 Dec 2021 17:15:59 +0900 Subject: [PATCH] simplified katex scroll css --- source/src/styles/globalStyle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/styles/globalStyle.tsx b/source/src/styles/globalStyle.tsx index 77f4a5d..0077b4d 100644 --- a/source/src/styles/globalStyle.tsx +++ b/source/src/styles/globalStyle.tsx @@ -192,7 +192,7 @@ const markCSS = css` const katexCSS = css` // prevent overflowing on small displays .katex-html { - overflow-x: scroll; + overflow: auto; padding: 0.5rem; } `