Skip to content

Commit

Permalink
feat: scrollable search filter (#103)
Browse files Browse the repository at this point in the history
Make chains list modal scrollable

---------

Signed-off-by: pbio <[email protected]>
Co-authored-by: J M Rossy <[email protected]>
  • Loading branch information
paulbalaji and jmrossy authored Aug 14, 2024
1 parent eb3ff32 commit 9fb83e5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/search/SearchFilterBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ function ChainMultiSelector({
</TextButton>
</div>
</div>
<div className="mt-2.5 flex space-x-6">
<div className="flex flex-col">
<div className="mt-2.5 flex space-x-2">
<div className="flex flex-col overflow-x-hidden overflow-y-auto max-h-100">
<div className="pb-1.5">
<CheckBox
checked={!hasAnyUncheckedChain(mainnets)}
Expand All @@ -216,8 +216,7 @@ function ChainMultiSelector({
</CheckBox>
))}
</div>
<div className="self-stretch w-px my-1 bg-gray-100"></div>
<div className="flex flex-col">
<div className="flex flex-col overflow-x-hidden overflow-y-auto max-h-100">
<div className="pb-1.5">
<CheckBox
checked={!hasAnyUncheckedChain(testnets)}
Expand Down

0 comments on commit 9fb83e5

Please sign in to comment.