From 2671681ec811b54a294b753365222b88d9374ae8 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Fri, 10 Apr 2020 23:21:09 +0200 Subject: [PATCH] Added scrollbar to download list --- public/css/style.css | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/public/css/style.css b/public/css/style.css index fd6eefe..d5a3d5b 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -5,6 +5,7 @@ --main-scroll: #555; --panels-background: #222324; --panels-text: #ffffff; + --panels-scroll: #2a2c2c; --accent-color: #0A84FF; --tag-background: #0062c4; --tag-text: #ffffff; @@ -192,8 +193,23 @@ div#download_tab{ } #download_list{ - margin: 0px 8px; + padding: 0px 8px; + height: calc(100% - 32px); + overflow-y: scroll; } +#download_list::-webkit-scrollbar { + width: 10px; +} +#download_list::-webkit-scrollbar-track { + background: var(--panels-background); +} +#download_list::-webkit-scrollbar-thumb { + background: var(--panels-scroll); + border-radius: 4px; + width: 6px; + padding: 0px 2px; +} + #download_list > .download_object{ padding-bottom: 8px; }