Use -apply-system font on error page (#140)

The CSS rule on the error page doesn't work and the text on the page isn't rendered in SF UI Text. If we want to use SF on the error page, then, at least in Safari, we can use `-apply-system` as the font family.

I also added a fallback to sans-serif, just to be explicit.
This commit is contained in:
Ilmari Vacklin 2016-10-28 21:00:41 +03:00 committed by Guillermo Rauch
parent ca161c375f
commit c69686b5fc

View file

@ -31,7 +31,7 @@ const styles = {
left: 0,
right: 0,
position: 'absolute',
fontFamily: '"SF UI Text", "Helvetica Neue", "Lucida Grande"',
fontFamily: '-apple-system, "SF UI Text", "Helvetica Neue", "Lucida Grande", sans-serif',
textAlign: 'center',
paddingTop: '20%'
}),