diff --git a/static/app/components/illustrations/NoProjectEmptyState.tsx b/static/app/components/illustrations/NoProjectEmptyState.tsx index c9d2beffbcb6eb..8f3589423844c5 100644 --- a/static/app/components/illustrations/NoProjectEmptyState.tsx +++ b/static/app/components/illustrations/NoProjectEmptyState.tsx @@ -202,7 +202,7 @@ const Smoke = styled('g')` )} `; -function NoProjectEmptyState() { +function NoProjectEmptyState({className}: {className?: string}) { return ( diff --git a/static/app/components/noProjectMessage.tsx b/static/app/components/noProjectMessage.tsx index 913df205e911f2..f0fc189f028eaf 100644 --- a/static/app/components/noProjectMessage.tsx +++ b/static/app/components/noProjectMessage.tsx @@ -72,10 +72,24 @@ function NoProjectMessage({ ); return ( - - + + + + - + {t('Remain Calm')} {t('You need at least one project to use this view')} @@ -88,22 +102,20 @@ function NoProjectMessage({ createProjectAction )} - + ); } export default NoProjectMessage; -const HelpMessage = styled('div')` - margin-bottom: ${space(2)}; +const StyledNoProjectEmptyState = styled(NoProjectEmptyState)` + width: 100%; + height: auto; `; -const Content = styled('div')` - display: flex; - flex-direction: column; - justify-content: center; - margin-left: 40px; +const HelpMessage = styled('div')` + margin-bottom: ${space(2)}; `; const Actions = styled(ButtonBar)`