Skip to content

Commit

Permalink
Update ModalBody horizontal padding
Browse files Browse the repository at this point in the history
The `ModalHeader` and `ModalBoyd` components should have the same
horizontal padding.
  • Loading branch information
r-czajkowski committed Nov 28, 2024
1 parent d966a94 commit b37293e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dapp/src/components/WelcomeModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function WelcomeModalBase({ closeModal }: BaseModalProps) {
</TextSm>
{activeStepData.title}
</ModalHeader>
<ModalBody textAlign="left" display="block" color="brown.80" px="10">
<ModalBody textAlign="left" display="block" color="brown.80">
{activeStepData.content(embeddedApp)}
</ModalBody>
<ModalFooter
Expand Down
4 changes: 2 additions & 2 deletions dapp/src/theme/Modal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { modalAnatomy as parts } from "@chakra-ui/anatomy"
import { createMultiStyleConfigHelpers, defineStyle } from "@chakra-ui/react"

const baseStyleContainer = defineStyle({
px: { base: 3, md: 8 },
px: { base: 3, sm: 8 },
})

const baseStyleDialog = defineStyle({
Expand Down Expand Up @@ -51,7 +51,7 @@ const baseStyleBody = defineStyle({
alignItems: "center",
gap: 6,
pt: 0,
px: { base: 0, sm: 8 },
px: { base: 0, sm: 10 },
pb: { base: 0, sm: 10 },
})

Expand Down

0 comments on commit b37293e

Please sign in to comment.