Update Bridge file layout

This commit is contained in:
Darren Clarke 2024-04-23 13:36:51 +02:00
parent 2c43e81436
commit b0fb643b6a
47 changed files with 2488 additions and 2087 deletions

View file

@ -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>