From fdf4541e122db6c89d4eb142d52e20b4a4eecbe6 Mon Sep 17 00:00:00 2001 From: Matias Capeletto Date: Tue, 5 Jan 2021 22:36:44 +0100 Subject: [PATCH] fix: scrollbar when using line highlight --- src/client/theme-default/styles/code.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/theme-default/styles/code.css b/src/client/theme-default/styles/code.css index adc2a221629c..e27762cec210 100644 --- a/src/client/theme-default/styles/code.css +++ b/src/client/theme-default/styles/code.css @@ -85,6 +85,7 @@ li > div[class*='language-'] { font-family: var(--code-font-family); font-size: var(--code-font-size); user-select: none; + overflow: hidden; } .highlight-lines .highlighted {