From 0dff00c6a2362997f3d8fef8608f60d571417128 Mon Sep 17 00:00:00 2001 From: Peter Maquiran Date: Mon, 14 Jun 2021 13:33:46 +0100 Subject: [PATCH] Improve scrollbar --- src/global.scss | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) diff --git a/src/global.scss b/src/global.scss index a7ee0e322..37ea09951 100644 --- a/src/global.scss +++ b/src/global.scss @@ -751,40 +751,11 @@ ion-icon{ } - - - - -@media only screen and (min-width: 300px) { +@media only screen and (max-width: 500px) { ::-webkit-scrollbar { - width: 5px; - height: 5px; - } - - /* Track */ - ::-webkit-scrollbar-track { - background: #f1f1f1; - border-radius: 5px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -ms-border-radius: 5px; - -o-border-radius: 5px; - } - - /* Handle */ - ::-webkit-scrollbar-thumb { - background: #888; - border-radius: 5px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - -ms-border-radius: 5px; - -o-border-radius: 5px; - } - - /* Handle on hover */ - ::-webkit-scrollbar-thumb:hover { - background: rgb(92, 92, 92); + width: 5px !important; + height: 5px !important; } }