1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-16 11:14:26 +07:00

fix: sidebar view on small screens (#136)

This commit is contained in:
Juan Picado @jotadeveloper 2019-09-30 20:28:02 +02:00 committed by GitHub
parent ae6e479f16
commit 91d818c478
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,10 +14,10 @@ function renderSidebar(): ReactElement<HTMLElement> {
const Layout: FC<{}> = () => { const Layout: FC<{}> = () => {
return ( return (
<Grid className={'container content'} container={true} data-testid="version-layout" spacing={0}> <Grid className={'container content'} container={true} data-testid="version-layout" spacing={0}>
<Grid item={true} xs={8}> <Grid item={true} md={8} xs={12}>
{renderDetail()} {renderDetail()}
</Grid> </Grid>
<Grid item={true} xs={4}> <Grid item={true} md={4} xs={12}>
{renderSidebar()} {renderSidebar()}
</Grid> </Grid>
</Grid> </Grid>