Merge pull request #684 from bluewave-labs/feat/pagination-rows

Pagination rows
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-19 19:26:07 -07:00
commit fa766d259b
7 files changed
+213 -47

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
.monitors h1.MuiTypography-root,
.monitors h2.MuiTypography-root {
color: var(--env-var-color-1);
font-weight: 500;
font-weight: 600;
}
.monitors h1.MuiTypography-root {
font-size: var(--env-var-font-size-large-plus);
+3 -5
View File
@@ -436,10 +436,8 @@ const Monitors = () => {
<ServerStatus title="Down" value={down} state="down" />
<ServerStatus title="Paused" value={0} state="pause" />
</Stack>
<Stack
gap={theme.gap.large}
<Box
p={theme.gap.lgplus}
flex={1}
border={1}
borderColor={theme.palette.otherColors.graishWhite}
backgroundColor={theme.palette.otherColors.white}
@@ -447,7 +445,7 @@ const Monitors = () => {
borderRadius: `${theme.shape.borderRadius}px`,
}}
>
<Stack direction="row" alignItems="center">
<Stack direction="row" alignItems="center" mb={theme.gap.large}>
<Typography component="h2">Current monitors</Typography>
<Box className="current-monitors-counter">
{monitorState.monitors.length}
@@ -455,7 +453,7 @@ const Monitors = () => {
{/* TODO - add search bar */}
</Stack>
<BasicTable data={data} paginated={true} />
</Stack>{" "}
</Box>
</>
)}
</>