From 0d770bf6129735afd0c76e22d232ea4142585548 Mon Sep 17 00:00:00 2001 From: David Mosbach Date: Sun, 28 May 2023 13:52:51 +0200 Subject: [PATCH] styled scrollbar --- editor.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/editor.css b/editor.css index cff2e50..6505d85 100644 --- a/editor.css +++ b/editor.css @@ -71,6 +71,7 @@ body { bottom: 20px; left: 20px; right: 20px; + padding-right: 10px; overflow-y: auto; overflow-x: hidden; text-align: justify; @@ -123,4 +124,21 @@ body { .contextmenu div:active { background-color: rgb(250, 250, 250); +} + +::-webkit-scrollbar { + width: 5px; +} + +::-webkit-scrollbar-track { + background: transparent; +} + +::-webkit-scrollbar-thumb { + background: rgba(120, 120, 120, 0.555); + border-radius: 5px; +} + +::-webkit-scrollbar-thumb:hover { + background: rgb(120, 120, 120); } \ No newline at end of file