From 4cbd8bed3198cb56dd5eab331bd6e18fb22d3553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=B8vring?= Date: Mon, 29 Jul 2024 13:07:57 +0200 Subject: [PATCH] Styles Safari scrollbars --- src/app/globals.css | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/app/globals.css b/src/app/globals.css index 0a70c413..87d14389 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -5,3 +5,22 @@ html, body { height: 100%; } + +*::-webkit-scrollbar { + width: 12px; +} + +*::-webkit-scrollbar-track { + background: transparent; +} + +*::-webkit-scrollbar-thumb { + background-color: #c2c2c2; + border-radius: 6px; + border: 3px solid transparent; + background-clip: padding-box; +} + +*::-webkit-scrollbar-thumb:hover { + background-color: #7d7d7d; +}