In order to prevent the download button flashing we need to force the browser to eval site.js before the first paint(?) occurs. What better way to do than force the site-bundle.js to download before any other assets? I've set common-bundle to defer, which seems to work okay.
After I fixed the download buttons, I noticed some text resizing issues with the rem measurement after a font loaded in. So swapped those out for their px equivalents.
EDIT: Actually this was caused by the max-inline-size using the ch measurement (size of the '0' glyph on the font.) I've adjusted it to an approx value in rem, and tested how it looks in a few locales. Seems fine.
Also removed the old donation js, and also the old unused donation server.
Fixes #523
In order to prevent the download button flashing we need to force the browser to eval
site.js
before the first paint(?) occurs. What better way to do than force the site-bundle.js to download before any other assets? I've set common-bundle to defer, which seems to work okay.After I fixed the download buttons, I noticed some text resizing issues with the rem measurement after a font loaded in.
So swapped those out for their px equivalents.EDIT: Actually this was caused by the max-inline-size using the
ch
measurement (size of the '0' glyph on the font.) I've adjusted it to an approx value in rem, and tested how it looks in a few locales. Seems fine.Also removed the old donation js, and also the old unused donation server.
Sorry for the kitchen sink pr lol!