Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

new scrollbar for chrome and other browser

kruzhambusb5fa2544a31b
diff --git a/public/index.html b/public/index.html
index b1fdd2520..38156f70a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -41,6 +41,7 @@
</div>
</div>
<div id="root"></div>
+ <div id="scrollBar"></div>
<div id="intergramPlaceholder" class="flex sticky bottom-0 self-end items-end justify-end h-0 z-50" />
<script src="https://cdn.paddle.com/paddle/paddle.js"></script>
<script>
diff --git a/src/index.css b/src/index.css
index 2e9e22cfd..2e307d642 100644
--- a/src/index.css
+++ b/src/index.css
@@ -49,3 +49,21 @@ code {
.hoverable:hover {
opacity: 0.75;
}
+
+/* custom scrollbar */
+::-webkit-scrollbar {
+ width: 5px;
+ height: 5px;
+}
+::-webkit-scrollbar-track {
+ background: transparent;
+}
+::-webkit-scrollbar-thumb {
+ background-color: #3b82f6;
+ border-radius: 10px;
+ cursor: pointer;
+}
+
+::-webkit-scrollbar-thumb:hover {
+ background-color: #4f46e5;
+}