1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

increase scrollbar padding (scrollbar is still visible on some platforms)

This commit is contained in:
Captain Jack Sparrow 2024-04-12 11:51:36 +00:00
parent da2c82bba7
commit 65cff98812

View file

@ -252,11 +252,11 @@ export function Discover() {
</h2>
<div
id={`carousel-${categorySlug}`}
className="flex whitespace-nowrap pt-3 overflow-auto rounded-xl overflow-y-hidden"
className="flex whitespace-nowrap pt-4 overflow-auto scrollbar rounded-xl overflow-y-hidden"
style={{
scrollbarWidth: "thin",
// scrollbarColor: `${bgColor} transparent`,
scrollbarColor: `transparent transparent`,
scrollbarColor: "transparent transparent",
}}
ref={(el) => {
carouselRefs.current[categorySlug] = el;