mirror of
https://github.com/aljazceru/satshkd-vercel.git
synced 2025-12-17 05:04:24 +01:00
The background pattern image was not scaling appropriately on mobile screens, causing only a portion of the banknote to be visible in the pattern tiles. Changes: - Added responsive scaling logic for background pattern image - Mobile devices (<768px) now use proportional scaling based on viewport width - Tablet devices (768-1200px) use 70% scaling - Desktop devices maintain full-size image - Uses temporary canvas to create scaled pattern for optimal display This ensures the entire banknote is visible in pattern tiles across all device sizes.