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({
|
errorDebug: style({
|
||||||
height: '100%',
|
height: '100vh',
|
||||||
padding: '16px',
|
padding: '16px',
|
||||||
boxSizing: 'border-box'
|
boxSizing: 'border-box',
|
||||||
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
|
alignItems: 'center',
|
||||||
|
justifyContent: 'center'
|
||||||
}),
|
}),
|
||||||
|
|
||||||
message: style({
|
message: style({
|
||||||
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace',
|
fontFamily: '"SF Mono", "Roboto Mono", "Fira Mono", menlo-regular, monospace',
|
||||||
fontSize: '10px',
|
fontSize: '10px',
|
||||||
color: '#fbe7f1',
|
color: '#fbe7f1',
|
||||||
margin: 0
|
margin: 0,
|
||||||
|
whiteSpace: 'pre-wrap',
|
||||||
|
wordWrap: 'break-word'
|
||||||
}),
|
}),
|
||||||
|
|
||||||
heading: style({
|
heading: style({
|
||||||
|
|
Loading…
Reference in a new issue