Skip to content

Commit 39ec9f1

Browse files
committed
feat(website): minor improvements
1 parent 55a241f commit 39ec9f1

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

apps/website/components/EffectLayer.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,23 +291,16 @@ export function EffectLayer({ children, className }: EffectLayerProps) {
291291

292292
const styles = {
293293
root: cn(
294-
"absolute",
295-
"left-0",
296-
"top-0",
297-
"w-full",
298-
"h-full",
299294
"z-[0]",
295+
"absolute",
296+
"inset-[0]",
300297
"pointer-events-none",
301298
),
302299

303300
canvas: cn(
304301
"w-full",
305302
"h-full",
306-
"bg-transparent",
307-
"opacity-0",
308-
"transition-opacity",
309-
"duration",
310-
"ease-[ease-in-out]",
311303
"pointer-events-none",
304+
"opacity-0",
312305
),
313306
};

0 commit comments

Comments
 (0)