diff --git a/client/src/Components/design-elements/StatusBox.tsx b/client/src/Components/design-elements/StatusBox.tsx index 191ed21d6..a22af3406 100644 --- a/client/src/Components/design-elements/StatusBox.tsx +++ b/client/src/Components/design-elements/StatusBox.tsx @@ -35,7 +35,10 @@ export const BGBox = ({ children, sx }: StatusBoxProps) => { pointerEvents: "none", // Deliberately far fainter than `divider` - this is texture // behind the number, not a rule, and it must never compete - // with the box's own border. + // with the box's own border. Note alpha() *replaces* the + // alpha channel, so this relies on `divider` being an opaque + // hex; if it ever goes translucent this gets stronger, not + // weaker. backgroundImage: ` linear-gradient(${alpha(theme.palette.divider, 0.4)} 1px, transparent 1px), linear-gradient(90deg, ${alpha(theme.palette.divider, 0.4)} 1px, transparent 1px) diff --git a/client/src/Components/design-elements/Table.tsx b/client/src/Components/design-elements/Table.tsx index 44eab9424..0389f4fef 100644 --- a/client/src/Components/design-elements/Table.tsx +++ b/client/src/Components/design-elements/Table.tsx @@ -52,7 +52,11 @@ type DataTableProps = emptyViewText?: string; emptyViewPositive?: boolean; getRowSx?: (row: T) => SxProps; - /** Marks a row selected so it gets the shared selected + hover treatment. */ + /** + * Marks a row selected so it gets the shared selected + hover treatment. + * Desktop table only - the small-screen card branch does not style + * selection yet, same as `getRowSx`. + */ isRowSelected?: (row: T) => boolean; }; diff --git a/client/src/Components/monitors/HeaderMonitorControls.tsx b/client/src/Components/monitors/HeaderMonitorControls.tsx index a32a33298..7f6968f0b 100644 --- a/client/src/Components/monitors/HeaderMonitorControls.tsx +++ b/client/src/Components/monitors/HeaderMonitorControls.tsx @@ -64,12 +64,7 @@ export const HeaderMonitorControls = ({ variant="contained" color="secondary" loading={isPosting} - startIcon={ - - } + startIcon={} onClick={async () => { await post(`/notifications/test/all`, { monitorId: monitor.id }); }} @@ -82,12 +77,7 @@ export const HeaderMonitorControls = ({