mirror of
https://github.com/SomboChea/ui
synced 2024-11-28 00:44:30 +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<{}> = () => {
|
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user