Skip to content

Commit 81342dd

Browse files
committed
fix error page design
1 parent 11a71a8 commit 81342dd

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/pages/error/Error.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import logo from './logo.svg';
88
const Error = ({ classes }) => (
99
<Grid container className={classes.container}>
1010
<div className={classes.logotype}>
11-
<img src={logo} alt="logo" />
11+
<img className={classes.logotypeIcon} src={logo} alt="logo" />
1212
<Typography variant="h3" color="white" className={classes.logotypeText}>Material Admin</Typography>
1313
</div>
1414
<Paper classes={{ root: classes.paperRoot }}>
@@ -36,13 +36,17 @@ const styles = theme => ({
3636
logotype: {
3737
display: 'flex',
3838
alignItems: 'center',
39-
marginBottom: theme.spacing.unit * 6,
39+
marginBottom: theme.spacing.unit * 12,
4040
},
4141
logotypeText: {
4242
fontWeight: 500,
4343
color: 'white',
4444
marginLeft: theme.spacing.unit * 2,
4545
},
46+
logotypeIcon: {
47+
width: 70,
48+
marginRight: theme.spacing.unit * 2,
49+
},
4650
paperRoot: {
4751
boxShadow: theme.customShadows.widgetDark,
4852
display: 'flex',
@@ -59,11 +63,12 @@ const styles = theme => ({
5963
textAlign: 'center',
6064
},
6165
errorCode: {
62-
fontSize: 144,
66+
fontSize: 148,
6367
fontWeight: 600,
6468
},
6569
safetyText: {
6670
fontWeight: 300,
71+
color: theme.palette.text.hint,
6772
},
6873
backButton: {
6974
boxShadow: theme.customShadows.widget,

0 commit comments

Comments
 (0)