From b7ddee2d938285510ec8baf629bea298d0f3e867 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sascha=20I=C3=9Fbr=C3=BCcker?= Date: Sun, 10 Sep 2023 11:24:34 +0300 Subject: [PATCH] Make code blocks in notes scrollable (#530) --- bookmarks/styles/bookmark-page.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bookmarks/styles/bookmark-page.scss b/bookmarks/styles/bookmark-page.scss index 998c521..788e629 100644 --- a/bookmarks/styles/bookmark-page.scss +++ b/bookmarks/styles/bookmark-page.scss @@ -210,7 +210,7 @@ ul.bookmark-list { display: none; max-height: 300px; margin: $unit-1 0; - overflow: auto; + overflow-y: auto; } &.show-notes .notes, @@ -249,6 +249,7 @@ ul.bookmark-list .notes-content { padding: $unit-1 $unit-2; background-color: $code-bg-color; border-radius: $unit-1; + overflow-x: auto; } pre code {