mirror of
https://github.com/SomboChea/ui
synced 2024-12-25 05:34:26 +07:00
fix: sidebar view on small screens (#136)
This commit is contained in:
parent
ae6e479f16
commit
91d818c478
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user