Skip to content

Commit 8fd34c3

Browse files
committed
tweak styling
1 parent 3587b5b commit 8fd34c3

File tree

1 file changed

+8
-5
lines changed
  • src/components/swap/components/transaction-review

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const TransactionReviewModal = (props: TransactionReviewModalProps) => {
3535
open={tradeState.context.isModalOpen}
3636
className='relative z-50'
3737
>
38-
<DialogBackdrop className='fixed inset-0 bg-black/30' />
38+
<DialogBackdrop className='bg-ic-black fixed inset-0 bg-opacity-60 backdrop-blur' />
3939
<div className='fixed inset-0 flex w-screen items-center justify-center p-4'>
4040
<DialogPanel
4141
className={cn(
@@ -44,10 +44,13 @@ export const TransactionReviewModal = (props: TransactionReviewModalProps) => {
4444
)}
4545
>
4646
{modalTitle && (
47-
<DialogTitle className={cn(isDarkMode ? 'dark' : '')}>
48-
<span className='text-ic-black px-6 py-4 text-xl font-semibold dark:text-neutral-50'>
49-
{modalTitle}
50-
</span>
47+
<DialogTitle
48+
className={cn(
49+
'text-ic-black px-6 py-4 text-xl font-semibold dark:text-neutral-50',
50+
isDarkMode ? 'dark' : '',
51+
)}
52+
>
53+
{modalTitle}
5154
</DialogTitle>
5255
)}
5356

0 commit comments

Comments
 (0)