Update Bridge file layout
This commit is contained in:
parent
2c43e81436
commit
b0fb643b6a
47 changed files with 2488 additions and 2087 deletions
|
|
@ -17,7 +17,7 @@ export const List: FC<ListProps> = ({
|
|||
title,
|
||||
rows,
|
||||
columns,
|
||||
onRowClick = () => {},
|
||||
onRowClick,
|
||||
buttons,
|
||||
}) => {
|
||||
const { h3 } = typography;
|
||||
|
|
@ -34,10 +34,11 @@ export const List: FC<ListProps> = ({
|
|||
<Grid item>
|
||||
<Box
|
||||
sx={{
|
||||
mt: 2,
|
||||
backgroundColor: "#ddd",
|
||||
border: 0,
|
||||
width: "100%",
|
||||
height: "100vh",
|
||||
height: "calc(100vh - 100px)",
|
||||
".MuiDataGrid-row": {
|
||||
cursor: "pointer",
|
||||
"&:hover": {
|
||||
|
|
@ -74,12 +75,12 @@ export const List: FC<ListProps> = ({
|
|||
}}
|
||||
pageSizeOptions={[5, 10, 25]}
|
||||
paginationMode="client"
|
||||
sx={{ height: "100vh" }}
|
||||
sx={{ height: "100%" }}
|
||||
rowHeight={46}
|
||||
scrollbarSize={0}
|
||||
disableVirtualization
|
||||
disableColumnMenu
|
||||
onRowClick={(row: any) => onRowClick(row.id)}
|
||||
onRowClick={(row: any) => onRowClick?.(row.id)}
|
||||
/>
|
||||
</Box>
|
||||
</Grid>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue