Skip to content

Commit 3587b5b

Browse files
committed
tweak modal
1 parent 4653339 commit 3587b5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/swap/components/select-token-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const SelectTokenModal = (props: SelectTokenModalProps) => {
4040
const { balances } = useBalances(props.address, tokenAddresses)
4141
return (
4242
<Dialog onClose={onClose} open={isOpen} className='relative z-50'>
43-
<DialogBackdrop className='fixed inset-0 bg-black/30' />
43+
<DialogBackdrop className='bg-ic-black fixed inset-0 bg-opacity-60 backdrop-blur' />
4444
<div className='fixed inset-0 flex w-screen items-center justify-center p-4'>
4545
<DialogPanel
4646
className={clsx(

src/components/swap/components/transaction-review/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ export const TransactionReviewModal = (props: TransactionReviewModalProps) => {
3939
<div className='fixed inset-0 flex w-screen items-center justify-center p-4'>
4040
<DialogPanel
4141
className={cn(
42-
'bg-ic-white mx-4 my-0 rounded-3xl border border-zinc-700 dark:bg-[#18181b]',
42+
'bg-ic-white mx-4 my-0 max-w-md rounded-3xl border border-zinc-700 dark:bg-[#18181b]',
4343
isDarkMode ? 'review' : '',
4444
)}
4545
>
4646
{modalTitle && (
4747
<DialogTitle className={cn(isDarkMode ? 'dark' : '')}>
48-
<span className='text-ic-black dark:text-neutral-50'>
48+
<span className='text-ic-black px-6 py-4 text-xl font-semibold dark:text-neutral-50'>
4949
{modalTitle}
5050
</span>
5151
</DialogTitle>

0 commit comments

Comments
 (0)