Skip to content

Commit

Permalink
fix(Announcements): Add extra spacing to dialog content
Browse files Browse the repository at this point in the history
  • Loading branch information
cballevre committed Sep 10, 2024
1 parent 9f259e0 commit 2970457
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Announcements/AnnouncementsDialogContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const AnnouncementsDialogContent: FC<AnnouncementsDialogContentProps> = ({
}

return (
<div className="u-flex u-flex-column u-flex-items-center">
<div className="u-flex u-flex-column u-flex-items-center u-mh-2 u-mh-1-s">
{primaryImage ? (
<img
src={primaryImage}
Expand Down Expand Up @@ -72,13 +72,15 @@ const AnnouncementsDialogContent: FC<AnnouncementsDialogContentProps> = ({
</div>
{announcement.attributes.main_action ? (
<Buttons
fullWidth
className="u-mb-half"
variant="secondary"
label={announcement.attributes.main_action.label}
onClick={handleMainAction}
/>
) : null}
<Buttons
fullWidth
label={t(
isLast
? 'AnnouncementsDialogContent.understand'
Expand Down

0 comments on commit 2970457

Please sign in to comment.