Skip to content

Commit

Permalink
refactor(tangle-dapp): Better modal sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
yurixander committed Nov 16, 2024
1 parent 8b4856b commit f6ac68d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const OnboardingModal: FC<OnboardingModalProps> = ({
<ModalContent
onInteractOutside={() => setIsOpen(false)}
isOpen={isOpen}
size="lg"
size="md"
>
<ModalHeader onClose={() => setIsOpen(false)}>{title}</ModalHeader>

Expand Down
4 changes: 2 additions & 2 deletions apps/tangle-dapp/containers/LsCreatePoolModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const LsCreatePoolModal: FC<LsCreatePoolModalProps> = ({
Create a Liquid Staking Pool
</ModalHeader>

<ModalBody>
<ModalBody className="gap-4">
{/**
* In case that a testnet is selected, it's helpful to let the users
* know that the pool will be created on the testnet, and that
Expand All @@ -135,7 +135,7 @@ const LsCreatePoolModal: FC<LsCreatePoolModalProps> = ({
/>
)}

<div className="flex items-center gap-2 justify-stretch">
<div className="flex flex-col sm:flex-row items-center gap-4 justify-stretch">
<TextInput
id="ls-create-pool-name"
title="Pool Name"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const UpdatePayeeTxContainer: FC<UpdatePayeeTxContainerProps> = ({
<ModalContent
onInteractOutside={() => setIsModalOpen(false)}
isOpen={isModalOpen}
size="sm"
size="md"
>
<ModalHeader onClose={closeModalAndReset}>
Change Reward Destination
Expand Down

0 comments on commit f6ac68d

Please sign in to comment.