Skip to content

Commit 672683d

Browse files
committed
misc fixes
1 parent 6871e49 commit 672683d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/transactions/Swap/inputs/primitives/SwapAssetInput.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,11 @@ export const SwitchAssetInput = ({
358358
open={openModal}
359359
setOpen={setOpenModal}
360360
contentMaxWidth={420}
361-
contentHeight={pickerHeight}
361+
minContentHeight={600}
362+
contentHeight={Math.max(
363+
pickerHeight ?? 0,
364+
mergedPopular.length && filteredAssets.length > 3 ? 600 : 0
365+
)}
362366
>
363367
<Box sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
364368
<Typography variant="main16" sx={{ fontSize: 18, fontWeight: 600, mb: 3 }}>

0 commit comments

Comments
 (0)