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