From d2c3faf3583333a4175cf86ebd8773806f7bf1d0 Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 9 Jun 2023 02:21:56 +0200 Subject: [PATCH] Added a styled scrollbar to the common styles --- webui/src/common/styles/main.sass | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/webui/src/common/styles/main.sass b/webui/src/common/styles/main.sass index e1c88f3..3e11513 100644 --- a/webui/src/common/styles/main.sass +++ b/webui/src/common/styles/main.sass @@ -1,3 +1,5 @@ +@import "@/common/styles/colors" + * box-sizing: border-box @@ -14,6 +16,16 @@ body, html .app position: absolute top: 0 - left: 0 height: 100% - width: 100% \ No newline at end of file + width: 100% + overflow-y: scroll + +::-webkit-scrollbar + width: 10px + +::-webkit-scrollbar-thumb + background: $background + border-radius: 1rem + + &:hover + background: $border \ No newline at end of file