Skip to content

fix: switch rem to px

Scott Hampton requested to merge switch-rem-to-px into master

Rems are great; however they are based on the font size found in the <html> element. Since we are injecting this script onto a page we know nothing about, we cannot guarantee that the base font-size is going to be 16px. Thus we can't design our whole project using rems that assume 16px is our base font-size. We should instead use px instead.

Merge request reports