From c8615b2e467437c9d3cd3d22ce0a764fdb081223 Mon Sep 17 00:00:00 2001 From: vmangalr Date: Wed, 18 Sep 2024 10:50:47 +0530 Subject: [PATCH] upcoming: [DI-20800] - Use theme spacing wherever applicable --- .../Dashboard/CloudPulseDashboardLanding.tsx | 6 ++++-- .../features/CloudPulse/Overview/GlobalFilters.tsx | 12 +++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/manager/src/features/CloudPulse/Dashboard/CloudPulseDashboardLanding.tsx b/packages/manager/src/features/CloudPulse/Dashboard/CloudPulseDashboardLanding.tsx index 3907346f617..9c4ee4abd05 100644 --- a/packages/manager/src/features/CloudPulse/Dashboard/CloudPulseDashboardLanding.tsx +++ b/packages/manager/src/features/CloudPulse/Dashboard/CloudPulseDashboardLanding.tsx @@ -1,4 +1,4 @@ -import { Grid, Paper } from '@mui/material'; +import { Grid, Paper, useTheme } from '@mui/material'; import * as React from 'react'; import CloudPulseIcon from 'src/assets/icons/entityIcons/monitor.svg'; @@ -52,6 +52,8 @@ export const CloudPulseDashboardLanding = () => { const { isLoading } = useLoadUserPreferences(); + const theme = useTheme(); + /** * Takes an error message as input and renders a placeholder with the error message * @param errorMessage {string} - Error message which will be displayed @@ -131,7 +133,7 @@ export const CloudPulseDashboardLanding = () => { } return ( - + { return ( - +