Skip to content

Commit c69686b

Browse files
wolverianrauchg
authored andcommitted
Use -apply-system font on error page (vercel#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.
1 parent ca161c3 commit c69686b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/_error.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const styles = {
3131
left: 0,
3232
right: 0,
3333
position: 'absolute',
34-
fontFamily: '"SF UI Text", "Helvetica Neue", "Lucida Grande"',
34+
fontFamily: '-apple-system, "SF UI Text", "Helvetica Neue", "Lucida Grande", sans-serif',
3535
textAlign: 'center',
3636
paddingTop: '20%'
3737
}),

0 commit comments

Comments
 (0)