From 730ab8641b6395ae80ed8d7dd1426a3a0bc8726f Mon Sep 17 00:00:00 2001 From: kunish Date: Sat, 9 Sep 2023 18:45:29 +0800 Subject: [PATCH] refactor: update index.css --- src/index.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/index.css b/src/index.css index d6b027d..3e1cce6 100644 --- a/src/index.css +++ b/src/index.css @@ -20,17 +20,18 @@ } ::-webkit-scrollbar:vertical { - width: 0px; + width: 0; } ::-webkit-scrollbar:horizontal { - height: 0px; + height: 0; } -@media (min-width: 640px) { +@media (width >= 640px) { ::-webkit-scrollbar-thumb { @apply rounded-box bg-primary; } + ::-webkit-scrollbar:vertical { width: 6px; }