提交 c69686b5 编写于 作者: I Ilmari Vacklin 提交者: Guillermo Rauch

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.
上级 ca161c37
......@@ -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%'
}),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册