Skip to content

Commit 3813f73

Browse files
Zhaorauchg
authored andcommitted
Fix error fonts (vercel#826)
* add "consolas" font for windows * fix too small font size in non-retina display
1 parent 13d6c04 commit 3813f73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/error-debug.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ const styles = {
4040
},
4141

4242
message: {
43-
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace',
44-
fontSize: '10px',
43+
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", consolas, menlo-regular, monospace',
44+
fontSize: '14px',
4545
color: '#fbe7f1',
4646
margin: 0,
4747
whiteSpace: 'pre-wrap',
@@ -50,7 +50,7 @@ const styles = {
5050

5151
heading: {
5252
fontFamily: '-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',
53-
fontSize: '13px',
53+
fontSize: '16px',
5454
fontWeight: 'bold',
5555
color: '#ff84bf',
5656
marginBottom: '20px'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy