Add styles for template that otherwise was interpreted as a hb var

This commit is contained in:
Marcus Eide
2020-03-03 12:41:54 +01:00
parent 2c41afdedf
commit e390ddbceb
@@ -11,6 +11,9 @@ const useStyles = makeStyles<Theme>(theme => ({
pageBody: {
padding: theme.spacing(3),
},
title: {
padding: theme.spacing(1,0,2,0),
},
}));
const ExampleComponent: FC<{}> = () => {
@@ -23,7 +26,7 @@ const ExampleComponent: FC<{}> = () => {
subtitle="Optional subtitle"
></Header>
<div className={classes.pageBody}>
<Typography variant="h3" style={{ padding: '8px 0 16px 0' }}>
<Typography variant="h3" className={classes.title}>
Plugin page title
</Typography>
<InfoCard title="Information card" maxWidth>