Skip to content

Commit

Permalink
fix: weird scrolling on xcm token select dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
alecdwm committed Jan 1, 2025
1 parent 0f1ef94 commit 7c66cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/portal/src/components/widgets/xcm/TokenSelectDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function TokenSelectDialog({
title={title}
targetWidth="60rem"
onRequestDismiss={onRequestDismiss}
css={{ marginTop: '10vh', maxHeight: '80vh', minHeight: '45vh' }}
css={{ display: 'flex', flexDirection: 'column', marginTop: '10vh', maxHeight: '80vh', minHeight: '45vh' }}
>
<div className="mb-6 flex flex-col gap-4 lg:flex-row">
<SearchBar
Expand All @@ -91,7 +91,7 @@ export function TokenSelectDialog({
))}
</Select>
</div>
<div className="flex max-h-[60dvh] flex-col gap-4 overflow-y-auto">
<div className="flex flex-col gap-4 overflow-y-auto">
{filterSortedAssets.map((asset, index) => (
<Asset key={index} asset={asset} onClick={() => (onRequestDismiss(), onChange(asset))} />
))}
Expand Down

0 comments on commit 7c66cb2

Please sign in to comment.