Skip to content

Commit 40764c1

Browse files
committed
Update stylings
1 parent a9f6a7e commit 40764c1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/App.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
import { connect } from 'react-redux';
2+
import { JsonForms } from '@jsonforms/react';
23
import React from 'react';
34
import Grid from "@material-ui/core/Grid";
45
import Typography from "@material-ui/core/Typography";
56
import withStyles from "@material-ui/core/styles/withStyles";
67
import { getData } from '@jsonforms/core';
7-
import { JsonForms } from '@jsonforms/react';
88
import logo from './logo.svg';
99
import './App.css';
1010

1111
const styles = {
12-
container: {
13-
padding: '2em'
14-
},
1512
title: {
1613
textAlign: 'center',
1714
padding: '0.25em'
@@ -20,7 +17,7 @@ const styles = {
2017
display: 'flex',
2118
justifyContent: 'center',
2219
borderRadius: '0.25em',
23-
backgroundColor: '#cecece'
20+
backgroundColor: '#cecece',
2421
},
2522
demoform: {
2623
margin: 'auto'
@@ -38,8 +35,8 @@ const App = ({ classes, dataAsString }) => (
3835
</header>
3936
</div>
4037

41-
<Grid container justify={'center'} spacing={24} className={classes.container}>
42-
<Grid item sm={3}>
38+
<Grid container justify={'center'} spacing={24}>
39+
<Grid item sm={6}>
4340
<Typography
4441
variant={'display1'}
4542
className={classes.title}

0 commit comments

Comments
 (0)