We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36391f5 commit dec550bCopy full SHA for dec550b
1 file changed
src/components/ui/Granient.tsx
@@ -202,6 +202,7 @@ const Grainient: React.FC<Partial<GrainientPalette>> = ({ color1 = GRAINIENT_CON
202
canvas.style.display = "block"
203
canvas.style.position = "absolute"
204
canvas.style.inset = "0"
205
+ canvas.style.borderRadius = "inherit"
206
207
const container = containerRef.current
208
container.appendChild(canvas)
@@ -407,7 +408,7 @@ const Grainient: React.FC<Partial<GrainientPalette>> = ({ color1 = GRAINIENT_CON
407
408
return (
409
<div
410
ref={containerRef}
- className="pointer-events-none absolute inset-0 z-0 h-full w-full overflow-hidden"
411
+ className="pointer-events-none absolute inset-0 z-0 h-full w-full overflow-hidden rounded-[inherit]"
412
aria-hidden="true"
413
style={{
414
backgroundColor,
0 commit comments