diff --git a/client/src/Components/inputs/ToggleButton.tsx b/client/src/Components/inputs/ToggleButton.tsx
index a2b392357..467c232b6 100644
--- a/client/src/Components/inputs/ToggleButton.tsx
+++ b/client/src/Components/inputs/ToggleButton.tsx
@@ -33,8 +33,11 @@ export const ToggleButtonInput = ({ sx, ...props }: ToggleButtonProps) => {
},
"&.Mui-selected": {
backgroundColor: selectedBg,
+ // Weight stays at 400 so the group sits level with Button,
+ // which it is routinely placed beside. The fill and the
+ // darker ink carry the selected state instead - a weight
+ // change also reflows the label width as you switch.
color: theme.palette.text.primary,
- fontWeight: 500,
"&:hover": {
backgroundColor: selectedHoverBg,
},
diff --git a/client/src/Components/monitors/HeaderMonitorControls.tsx b/client/src/Components/monitors/HeaderMonitorControls.tsx
index 7f6968f0b..a32a33298 100644
--- a/client/src/Components/monitors/HeaderMonitorControls.tsx
+++ b/client/src/Components/monitors/HeaderMonitorControls.tsx
@@ -64,7 +64,12 @@ export const HeaderMonitorControls = ({
variant="contained"
color="secondary"
loading={isPosting}
- startIcon={}
+ startIcon={
+
+ }
onClick={async () => {
await post(`/notifications/test/all`, { monitorId: monitor.id });
}}
@@ -77,7 +82,12 @@ export const HeaderMonitorControls = ({
}
+ startIcon={
+
+ }
onClick={() => {
navigate(`/incidents/${monitor?.id}`);
}}
@@ -89,7 +99,19 @@ export const HeaderMonitorControls = ({
variant="contained"
color="secondary"
loading={isPosting}
- startIcon={monitor?.isActive ? : }
+ startIcon={
+ monitor?.isActive ? (
+
+ ) : (
+
+ )
+ }
onClick={async () => {
await post(`/monitors/pause/${monitor.id}`, {});
await refetch();
@@ -102,7 +124,12 @@ export const HeaderMonitorControls = ({
}
+ startIcon={
+
+ }
onClick={() => navigate(`/${path}/configure/${monitor.id}`)}
>
{t("common.buttons.configure")}
@@ -149,7 +176,19 @@ export const HeaderDeleteControls = ({
variant="contained"
color="secondary"
loading={isPosting}
- startIcon={monitor?.isActive ? : }
+ startIcon={
+ monitor?.isActive ? (
+
+ ) : (
+
+ )
+ }
onClick={async () => {
await post(`/monitors/pause/${monitor.id}`, {});
await refetch();
@@ -162,7 +201,12 @@ export const HeaderDeleteControls = ({
}
+ startIcon={
+
+ }
onClick={() => {
onDelete?.();
}}