Fix pixel persistence, improve mobile

- Fix pixel data storage to include user information (userId, username, timestamp)
- Enhance zoom controls to center properly without drift
- Improve mobile modal centering with flexbox layout
- Add dynamic backend URL detection for network access
- Fix CORS configuration for development mode
- Add mobile-optimized touch targets and safe area support

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
martin 2025-08-22 20:14:48 +02:00
commit 54d27a7ec5
14 changed files with 172 additions and 82 deletions

View file

@ -37,7 +37,7 @@ export function CooldownTimer({ isActive, duration, onComplete }: CooldownTimerP
return (
<motion.div
className="fixed top-4 sm:top-6 left-1/2 transform -translate-x-1/2 z-50"
className="fixed top-16 sm:top-20 left-1/2 transform -translate-x-1/2 z-50"
initial={{ opacity: 0, scale: 0.8 }}
animate={{ opacity: 1, scale: 1 }}
exit={{ opacity: 0, scale: 0.8 }}