diff --git a/src/public/stylesheets/theme-next/notes/text.css b/src/public/stylesheets/theme-next/notes/text.css index cf8aa4760..ac712c251 100644 --- a/src/public/stylesheets/theme-next/notes/text.css +++ b/src/public/stylesheets/theme-next/notes/text.css @@ -42,14 +42,9 @@ html .note-detail-editable-text :not(figure, .include-note, hr):first-child { overflow: auto; } -.ck-content pre code::-webkit-scrollbar { - height: 6px; -} - -.ck-content pre code::-webkit-scrollbar-thumb { - height: 4px; - border: none !important; - background: gray !important; +.ck-content pre code { + --scrollbar-thumb-color: gray; + --scrollbar-thumb-color-hover: gray; } .ck-content pre code::-webkit-scrollbar-track,