Wrap control buttons on DefaultPage
This commit is contained in:
parent
0f7c7dd717
commit
07b0226412
|
|
@ -11,7 +11,7 @@ interface IProps {
|
||||||
const DefaultPage: FC<IProps> = ({title, rightControl, maxWidth = 700, children}) => (
|
const DefaultPage: FC<IProps> = ({title, rightControl, maxWidth = 700, children}) => (
|
||||||
<main style={{margin: '0 auto', maxWidth}}>
|
<main style={{margin: '0 auto', maxWidth}}>
|
||||||
<Grid container spacing={4}>
|
<Grid container spacing={4}>
|
||||||
<Grid item xs={12} style={{display: 'flex'}}>
|
<Grid item xs={12} style={{display: 'flex', flexWrap: 'wrap'}}>
|
||||||
<Typography variant="h4" style={{flex: 1}}>
|
<Typography variant="h4" style={{flex: 1}}>
|
||||||
{title}
|
{title}
|
||||||
</Typography>
|
</Typography>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue