From 64443a3b64998d27ba56fb0f1850e49822a43e44 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Tue, 31 Aug 2021 22:25:06 +0200 Subject: [PATCH] Fix missing scrollbars for abcjs overflow (#1469) Signed-off-by: Tilman Vatteroth --- .../markdown-renderer/replace-components/abc/abc.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/components/markdown-renderer/replace-components/abc/abc.scss b/src/components/markdown-renderer/replace-components/abc/abc.scss index 0566e7cf6..4068605f2 100644 --- a/src/components/markdown-renderer/replace-components/abc/abc.scss +++ b/src/components/markdown-renderer/replace-components/abc/abc.scss @@ -4,9 +4,18 @@ * SPDX-License-Identifier: AGPL-3.0-only */ + .abcjs-score { @import "../../../../style/variables.scss"; + .markdown-body & { + overflow-x: auto !important; + } + + & > svg { + max-width: unset !important; + } + &, text { font-family: $font-family-base; }