MAPC / housing-submarkets

MAPC Housing Submarkets report
Other
0 stars 0 forks source link

Styles appear "larger" on initial load than should be #33

Closed atomtay closed 3 years ago

atomtay commented 3 years ago

On load: Screen Shot 2021-02-08 at 8 47 57 AM

Later snaps to: Screen Shot 2021-02-08 at 8 54 59 AM

REM size is declared in SASS, while most of our CSS is written in the component itself using Emotion's css prop. My initial suspicion is that the Emotion styles load first with an assumed REM ratio of 1rem=16px, and we have to wait until the SASS loads to declare its proper size (1rem=10px)