Skip to content

Commit

Permalink
fix(protocol-designer): fix paddings in release modal
Browse files Browse the repository at this point in the history
fix paddings in release modal

close RQA-3652
  • Loading branch information
koji committed Dec 23, 2024
1 parent 3b37de1 commit 5a7623e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions protocol-designer/src/organisms/AnnouncementModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const AnnouncementModal = (
props: AnnouncementModalProps
): JSX.Element => {
const { onClose, isViewReleaseNotes = false } = props
const { t } = useTranslation(['modal', 'button'])
const { i18n, t } = useTranslation(['modal', 'button'])
const announcements = useAnnouncements()

const { announcementKey, message, heading, image } = announcements[
Expand Down Expand Up @@ -53,9 +53,13 @@ export const AnnouncementModal = (
title={heading}
type="info"
footer={
<Flex justifyContent={JUSTIFY_END} padding={SPACING.spacing24}>
<Flex
justifyContent={JUSTIFY_END}
paddingX={SPACING.spacing24}
paddingBottom={SPACING.spacing24}
>
<PrimaryButton onClick={handleClick}>
{t('button:got_it')}
{i18n.format(t('close'), 'capitalize')}
</PrimaryButton>
</Flex>
}
Expand Down

0 comments on commit 5a7623e

Please sign in to comment.