The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update partner-program-dropdown.tsx
Tim Wilsonfdfe68a5cfa8
diff --git a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsxindex 43511bd10a..5f0f08279b 100644--- a/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx+++ b/apps/web/ui/layout/sidebar/partner-program-dropdown.tsx@@ -147,13 +147,13 @@ function ScrollContainer({ children }: PropsWithChildren) {ref={scrollRef}onScroll={updateScrollProgress}// clip-path is used to fix a weird bug in WebKit where scrolled-out-of-view content is still interactible- className="relative max-h-[min(260px,calc(100vh-300px))] space-y-0.5 overflow-auto rounded-lg bg-white [clip-path:inset(0)]"+ className="relative max-h-[min(260px,calc(100vh-300px))] space-y-0.5 overflow-auto bg-white [clip-path:inset(0)]">{children}</div>{/* Bottom scroll fade */}<div- className="pointer-events-none absolute -bottom-px left-0 h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:bottom-0"+ className="pointer-events-none absolute -bottom-px left-0 h-16 w-full bg-gradient-to-t from-white sm:bottom-0"style={{ opacity: 1 - Math.pow(scrollProgress, 2) }}/></div>