Skip to content

Commit

Permalink
fix: change padding and text size of popup modal (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: Haidong Xu <[email protected]>
  • Loading branch information
Esoteriker and Haidong Xu authored Nov 18, 2024
1 parent d79dc36 commit 34b4f72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/PopupModal/PopupModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ export default function PopupModal({
onOpenChange={toggleModal}
classNames={{
backdrop: 'bg-gradient-to-t from-zinc-900 to-zinc-900/10 backdrop-opacity-20',
base: `p-10 ${modalHeight}`,
base: `xl:p-10 lg:p-8 md:p-6 sm:p-4 ${modalHeight}`,
}}
size={modalSize}
>
<ModalContent>
<ModalHeader className="text-3xl font-bold mb-2">{modalTitle}</ModalHeader>
<ModalHeader className="xl:text-3xl text-2xl font-bold justify-center">{modalTitle}</ModalHeader>
<ModalBody>{children}</ModalBody>
</ModalContent>
</Modal>
Expand Down

0 comments on commit 34b4f72

Please sign in to comment.