Inset donate glow background with rounded corners on mobile #6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue