Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Stop the alert run-status icon from shrinking (#79747)

Oleh K1944ddd2c79b
diff --git a/frontend/src/metabase/monitor/tools/notifications/NotificationSummary/NotificationSummary.tsx b/frontend/src/metabase/monitor/tools/notifications/NotificationSummary/NotificationSummary.tsx
index b10d2ea0ec1..1f66b6fee50 100644
--- a/frontend/src/metabase/monitor/tools/notifications/NotificationSummary/NotificationSummary.tsx
+++ b/frontend/src/metabase/monitor/tools/notifications/NotificationSummary/NotificationSummary.tsx
@@ -1,6 +1,6 @@
import dayjs from "dayjs";
-import { Flex, Icon, Stack, Text, Tooltip } from "metabase/ui";
+import { FixedSizeIcon, Flex, Stack, Text, Tooltip } from "metabase/ui";
import type { NotificationRunSummary } from "metabase-types/api";
import { formatRelativeDate } from "../NotificationsAdminPage/utils";
@@ -28,7 +28,7 @@ export const NotificationSummary = ({ run, isCompact }: Props) => {
</Tooltip>
{isCompact && isFailing && (
<Tooltip label={error} disabled={!error}>
- <Icon name="warning_round" c="feedback-negative" />
+ <FixedSizeIcon name="warning_round" c="feedback-negative" />
</Tooltip>
)}
</Flex>
@@ -39,7 +39,7 @@ export const NotificationSummary = ({ run, isCompact }: Props) => {
{error}
</Text>
)}
- <Icon name="warning_round" c="feedback-negative" />
+ <FixedSizeIcon name="warning_round" c="feedback-negative" />
</Flex>
)}
</Stack>