This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Joni El
Posted Sep 09 - Read on Facebook

Using styles & flexbox to position layers is great. But the visual differences on the mirror are annoying. Does anyone here experience the same?

7 Comments

Jonas Treub

Hi Joni. Could you share an example?

Joni El

here a simple example: https://framer.cloud/AGfji

Joni El

basically the mirror messes up with the padding

Joni El

but it gets worse when as you add complexity

Joni El

Joni El

here the mirror screenshot

Jonas Treub

Framer its layout system takes the screen pixel density into account. If you work your way around it by using flex box you'll have to do this manually as well.
You can get the pixel density using the following property:
Framer.CurrentContext._devicePixelRatio

Read the entire post on Facebook