Link mobile layout
This commit is contained in:
parent
31faf22fd5
commit
b621014178
4 changed files with 116 additions and 23 deletions
|
|
@ -36,8 +36,8 @@ export const List: FC<ListProps> = ({
|
|||
};
|
||||
|
||||
return (
|
||||
<Box sx={{ height: "100vh", backgroundColor: lightGray, p: 3 }}>
|
||||
<Grid container direction="column">
|
||||
<Box sx={{ height: "100%", p: 3 }}>
|
||||
<Grid container direction="column" sx={{ height: "100%", flexWrap: "nowrap" }}>
|
||||
<Grid
|
||||
item
|
||||
container
|
||||
|
|
@ -52,14 +52,13 @@ export const List: FC<ListProps> = ({
|
|||
{buttons}
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid item>
|
||||
<Grid item sx={{flexGrow: 1}}>
|
||||
<Box
|
||||
sx={{
|
||||
mt: 2,
|
||||
backgroundColor: "transparent",
|
||||
border: 0,
|
||||
width: "100%",
|
||||
height: "calc(100vh - 100px)",
|
||||
".MuiDataGrid-row": {
|
||||
cursor: "pointer",
|
||||
"&:hover": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue