1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-20 02:01:52 +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<{}> = () => {
return (
<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()}
</Grid>
<Grid item={true} xs={4}>
<Grid item={true} md={4} xs={12}>
{renderSidebar()}
</Grid>
</Grid>