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:
parent
da2c82bba7
commit
65cff98812
1 changed files with 2 additions and 2 deletions
|
@ -252,11 +252,11 @@ export function Discover() {
|
||||||
</h2>
|
</h2>
|
||||||
<div
|
<div
|
||||||
id={`carousel-${categorySlug}`}
|
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={{
|
style={{
|
||||||
scrollbarWidth: "thin",
|
scrollbarWidth: "thin",
|
||||||
// scrollbarColor: `${bgColor} transparent`,
|
// scrollbarColor: `${bgColor} transparent`,
|
||||||
scrollbarColor: `transparent transparent`,
|
scrollbarColor: "transparent transparent",
|
||||||
}}
|
}}
|
||||||
ref={(el) => {
|
ref={(el) => {
|
||||||
carouselRefs.current[categorySlug] = el;
|
carouselRefs.current[categorySlug] = el;
|
||||||
|
|
Loading…
Reference in a new issue