wScratchPad icon indicating copy to clipboard operation
wScratchPad copied to clipboard

responsive issue

Open pixelfood opened this issue 11 years ago • 4 comments

when scaling the div the scratch becomes offset from the mouse x/y

pixelfood avatar Apr 10 '14 20:04 pixelfood

Ok, will look into it. On Apr 10, 2014 4:58 PM, "pixelfood" [email protected] wrote:

when scaling the div the scratch becomes offset from the mouse x/y

Reply to this email directly or view it on GitHubhttps://github.com/websanova/wScratchPad/issues/30 .

websanova avatar Apr 10 '14 21:04 websanova

Is there a solution found for this problem?

Great work by the way!

MeMathias avatar Nov 11 '15 23:11 MeMathias

Had the same issue. Seems like you cant have a liquid container. You have to explicitly define the width of the scratch cards containers inside media queries. The mouse offset will automatically correct itself once defined.

Gee63 avatar Feb 01 '16 07:02 Gee63

hey @Gee63! thanks for the response. I needed the code to work sooner, so I locked the orientation as a last-minute fix. Glad you found a solution!

MeMathias avatar Feb 01 '16 10:02 MeMathias