Commit 6a4da38d authored by mattcass's avatar mattcass Committed by Guillermo Rauch

issue #254 vertically center default error (#258)

* issue #254 vertically center default error

* add ie responsive support
parent 1efd6b2f
...@@ -38,16 +38,22 @@ const styles = { ...@@ -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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment