Merge pull request 'Inset donate glow background with rounded corners on mobile' (#6) from feature/donate-glow-inset into main

Reviewed-on: #6
This commit is contained in:
barnabas 2026-10-24 10:52:20 +00:00
commit 8e000dc3d8

View file

@ -337,7 +337,7 @@ export function DonateGlow({ theme, className }: { theme: GlowTheme; className?:
return (
<div
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}
>
<canvas