From 64b5ba196f9f7c05d32c320dd777fb32d7475f07 Mon Sep 17 00:00:00 2001 From: Anmol Singh Bhatia <121005188+anmolsinghbhatia@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:18:03 +0530 Subject: [PATCH] style: responsive empty state for profile stats (#1911) --- .../components/profile/overview/priority-distribution.tsx | 6 +++--- apps/app/components/profile/overview/state-distribution.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/app/components/profile/overview/priority-distribution.tsx b/apps/app/components/profile/overview/priority-distribution.tsx index 40acdedf5..d72985285 100644 --- a/apps/app/components/profile/overview/priority-distribution.tsx +++ b/apps/app/components/profile/overview/priority-distribution.tsx @@ -12,10 +12,10 @@ type Props = { }; export const ProfilePriorityDistribution: React.FC = ({ userProfile }) => ( -
+

Issues by Priority

{userProfile ? ( -
+
{userProfile.priority_distribution.length > 0 ? ( ({ @@ -63,7 +63,7 @@ export const ProfilePriorityDistribution: React.FC = ({ userProfile }) => }} /> ) : ( -
+
= ({ stateDistribution, u if (!userProfile) return null; return ( -
+

Issues by State

-
+
{userProfile.state_distribution.length > 0 ? (