Skip to content

Commit

Permalink
fix: correct alignment issues in preview mode (#7109)
Browse files Browse the repository at this point in the history
* fix: correct alignment issues in preview mode

* fix: add different padding for edit vs preview mode
  • Loading branch information
kathleenkhy authored Feb 22, 2024
1 parent 87dc252 commit 7e1b9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ interface PreviewFormBannerProps {
const textProps: TextProps = {
textStyle: 'body-2',
color: 'white',
ml: '2rem',
mx: '2rem',
mt: '0.5rem',
mb: '0.5rem',
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export const PaymentEndPagePreview = ({
</Box>
<Stack
pt={{ base: '1rem', md: '1.5rem' }}
mx={{ base: '1rem', md: '2rem' }}
px={{ base: '1rem', md: '4rem' }}
bg="transparent"
w="100%"
>
<PaymentEndPageBlock focusOnMount {...endPageProps} />
{isFeedbackSubmitted ? null : (
Expand Down

0 comments on commit 7e1b9c8

Please sign in to comment.