mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
* issue #254 vertically center default error * add ie responsive support
This commit is contained in:
parent
1efd6b2f73
commit
6a4da38d6b
|
@ -38,16 +38,22 @@ const styles = {
|
|||
}),
|
||||
|
||||
errorDebug: style({
|
||||
height: '100%',
|
||||
height: '100vh',
|
||||
padding: '16px',
|
||||
boxSizing: 'border-box'
|
||||
boxSizing: 'border-box',
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center'
|
||||
}),
|
||||
|
||||
message: style({
|
||||
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace',
|
||||
fontSize: '10px',
|
||||
color: '#fbe7f1',
|
||||
margin: 0
|
||||
margin: 0,
|
||||
whiteSpace: 'pre-wrap',
|
||||
wordWrap: 'break-word'
|
||||
}),
|
||||
|
||||
heading: style({
|
||||
|
|
Loading…
Reference in a new issue