From 2b7d2dd49364248840424032f0ea78cff85895e4 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 29 Dec 2020 18:10:18 +0530 Subject: [PATCH] reset: scroll-bar: set only on devices > 768px default style to others --- assets/css/reset.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/assets/css/reset.css b/assets/css/reset.css index f29d4e24..646e0d8a 100644 --- a/assets/css/reset.css +++ b/assets/css/reset.css @@ -113,11 +113,6 @@ img { max-width: 100% } -::-webkit-scrollbar { - width: 10px; - height: 6px -} - ::-webkit-scrollbar-track { background: var(--theme) } @@ -135,9 +130,9 @@ img { background: var(--secondary) } -@media screen and (max-width:800px) { +@media screen and (min-width:768px) { ::-webkit-scrollbar { - width: 8px; - height: 2px + width: 10px; + height: 6px } }