diff --git a/src/components/contentcards/CippPrettyCard.jsx b/src/components/contentcards/CippPrettyCard.jsx index 51f55d05551c..b3ef939fb801 100644 --- a/src/components/contentcards/CippPrettyCard.jsx +++ b/src/components/contentcards/CippPrettyCard.jsx @@ -6,7 +6,7 @@ import 'react-circular-progressbar/dist/styles.css' export default function CippPrettyCard({ title, - titleType = 'normal', + titleType = 'big', percentage, topLabel, smallLabel, @@ -25,14 +25,16 @@ export default function CippPrettyCard({ {!isFetching && ( - +
+ +
- +

{topLabel}

{smallLabel}
diff --git a/src/views/home/Home.jsx b/src/views/home/Home.jsx index 21ed159074d5..f764cfc32915 100644 --- a/src/views/home/Home.jsx +++ b/src/views/home/Home.jsx @@ -422,14 +422,20 @@ const TenantDashboard = () => { { const textRef = useRef() @@ -220,29 +221,15 @@ const SecureScore = () => {
- - - Current Score - - - - {isFetching && } - {translateState && ( - <> -

- {Math.round( - (translateData?.currentScore / translateData?.maxScore) * 100 * 10, - ) / 10} - % -

- - {translateData?.currentScore} of {translateData?.maxScore} points - - - )} -
-
-
+