Inset donate glow background with rounded corners on mobile #6

Merged
barnabas merged 1 commit from feature/donate-glow-inset into main 2026-10-24 10:52:21 +00:00
Showing only changes of commit 32200dbeca - Show all commits

View file

@ -337,7 +337,7 @@ export function DonateGlow({ theme, className }: { theme: GlowTheme; className?:
return ( return (
<div <div
aria-hidden="true" aria-hidden="true"
className={cn("pointer-events-none fixed inset-0 -z-10 overflow-hidden", className)} className={cn("pointer-events-none fixed inset-x-0 inset-y-2 -z-10 overflow-hidden rounded-3xl sm:inset-y-0 sm:rounded-none", className)}
style={failed ? { background: `radial-gradient(ellipse 80% 50% at 50% 110%, ${a}, transparent), radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, ${b} 20%, transparent), transparent)` } : undefined} style={failed ? { background: `radial-gradient(ellipse 80% 50% at 50% 110%, ${a}, transparent), radial-gradient(ellipse 50% 40% at 100% 0%, color-mix(in srgb, ${b} 20%, transparent), transparent)` } : undefined}
> >
<canvas <canvas