1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix error fonts (#826)

* add "consolas" font for windows

* fix too small font size in non-retina display
This commit is contained in:
Zhao 2017-01-22 10:04:41 +08:00 committed by Guillermo Rauch
parent 13d6c04acf
commit 3813f73ece

View file

@ -40,8 +40,8 @@ const styles = {
}, },
message: { message: {
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace', fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", consolas, menlo-regular, monospace',
fontSize: '10px', fontSize: '14px',
color: '#fbe7f1', color: '#fbe7f1',
margin: 0, margin: 0,
whiteSpace: 'pre-wrap', whiteSpace: 'pre-wrap',
@ -50,7 +50,7 @@ const styles = {
heading: { heading: {
fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif', fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
fontSize: '13px', fontSize: '16px',
fontWeight: 'bold', fontWeight: 'bold',
color: '#ff84bf', color: '#ff84bf',
marginBottom: '20px' marginBottom: '20px'