market group modal scroll fix (#1009)

This commit is contained in:
ingawei 2022-10-05 17:07:41 -05:00 committed by GitHub
parent 60aa294131
commit b8911cafe8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,10 +53,9 @@ export function ContractGroupsList(props: {
/>
</Col>
)}
<Col className="h-96 overflow-auto">
{groups.length === 0 && (
<Col className="ml-2 h-full justify-center text-gray-500">
No groups yet...
</Col>
<Col className="text-greyscale-4">No groups yet...</Col>
)}
{groups.map((group) => (
<Row
@ -72,11 +71,12 @@ export function ContractGroupsList(props: {
size={'xs'}
onClick={() => removeContractFromGroup(group, contract)}
>
<XIcon className="h-4 w-4 text-gray-500" />
<XIcon className="text-greyscale-4 h-4 w-4" />
</Button>
)}
</Row>
))}
</Col>
</Col>
)
}