We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6871e49 commit 672683dCopy full SHA for 672683d
src/components/transactions/Swap/inputs/primitives/SwapAssetInput.tsx
@@ -358,7 +358,11 @@ export const SwitchAssetInput = ({
358
open={openModal}
359
setOpen={setOpenModal}
360
contentMaxWidth={420}
361
- contentHeight={pickerHeight}
+ minContentHeight={600}
362
+ contentHeight={Math.max(
363
+ pickerHeight ?? 0,
364
+ mergedPopular.length && filteredAssets.length > 3 ? 600 : 0
365
+ )}
366
>
367
<Box sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}>
368
<Typography variant="main16" sx={{ fontSize: 18, fontWeight: 600, mb: 3 }}>
0 commit comments