Replaced Native Scrollbars with Tailwind Scrollbars on Windows (#1493)

* feat: scrollbar styling for windows browsers

* fix: lint
This commit is contained in:
Jestin Palamuttam
2024-11-23 01:57:07 +05:30
committed by GitHub
parent c8302a6d49
commit 571fc4db75
3 changed files with 31 additions and 1 deletions

View File

@@ -162,4 +162,20 @@
.scrollbar::-webkit-scrollbar-thumb:hover {
background: #a6a6a6;
}
}
/* Custom scrollbar implementation for Windows browsers */
.windows {
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-thumb {
background: #d6d6d6;
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: #a6a6a6;
}
}