From a2cff4298191dd608609d615a85c46fb083d1abd Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 9 Dec 2025 16:31:34 +0200 Subject: [PATCH] fix(layout): scrollbar design in code note --- apps/client/src/stylesheets/style.css | 4 ++++ apps/client/src/widgets/containers/scrolling_container.css | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 439e70e66..5d0a6476d 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -1367,6 +1367,10 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu { background-color: var(--scrollbar-background-color); } +::-webkit-scrollbar-button { + display: none; +} + ::-webkit-scrollbar-corner { background-color: inherit; } diff --git a/apps/client/src/widgets/containers/scrolling_container.css b/apps/client/src/widgets/containers/scrolling_container.css index 5bea62418..25ceef124 100644 --- a/apps/client/src/widgets/containers/scrolling_container.css +++ b/apps/client/src/widgets/containers/scrolling_container.css @@ -6,4 +6,5 @@ .note-split.type-code:not(.mime-text-x-sqlite) > .scrolling-container { background-color: var(--code-background-color); -} \ No newline at end of file + --scrollbar-background-color: var(--main-background-color); +}