Fix desktop glass rendering artifacts

This commit is contained in:
2026-05-16 14:33:15 +01:00
parent 2def6b683a
commit 819a47fad7
4 changed files with 9 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ export default function PhysicsButton({ href, children, className, external = fa
whileHover={{ scale: 1.035 }}
style={{ x, y, scaleX, scaleY, rotate }}
transition={{ type: "spring", stiffness: 520, damping: 18, mass: 0.45 }}
className={cn("premium-glass liquidGL-pane group relative inline-flex touch-manipulation select-none items-center justify-center overflow-hidden will-change-transform", className)}
className={cn("premium-glass group relative inline-flex touch-manipulation select-none items-center justify-center overflow-hidden will-change-transform", className)}
>
<motion.span
className="pointer-events-none absolute inset-0 rounded-full bg-white/15 opacity-0 blur-xl transition-opacity duration-300 group-hover:opacity-100"