javascript - Fit Sketch Artboards on Every device in Framer.js -


i have prototype built, imported sketch multiple artboards 640x1136. fit on devices when run in framer. right fits on iphone 5 resolution. need in order prototype work on devices?

i tried making each artboard larger, content centered, , ran framer.device.fullscreen = true, proportions still off. there way use percentages rather static pixel positions views fit in each device accordingly?

attached screenshot of looks on 6+ (don't fit), , looks on 5 (fits). enter image description here

i use scale sketch artboards fit framer's device

artboardwidth = 640 framer.device.contentscale = (screen.width / artboardwidth) 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -