fix table layout issues

This commit is contained in:
checktheroads 2021-01-02 16:52:50 -07:00
parent ef520e8e92
commit 515651c0fc
3 changed files with 4 additions and 3 deletions

View file

@ -11,7 +11,6 @@ export const CardBody = (props: ICardBody) => {
<Flex
bg={bg}
w="100%"
maxW="95%"
rounded="md"
color={color}
onClick={onClick}

View file

@ -119,15 +119,17 @@ export const Communities = (props: TCommunities) => {
</Tooltip>
</If>
<If c={communities.length !== 0}>
<Menu>
<Menu preventOverflow fixed>
<MenuButton>
<Icon as={More} />
</MenuButton>
<MenuList
p={3}
bg={bg}
minW={32}
width="unset"
color={color}
boxShadow="2xl"
textAlign="left"
fontFamily="mono"
fontWeight="normal"

View file

@ -31,7 +31,7 @@ export const BGPTable = (props: TBGPTable) => {
const columns = makeColumns(parsed_data_fields);
return (
<Flex my={8} justify="center" maxW={['100%', '100%', '100%', '100%']} w="100%" {...rest}>
<Flex my={8} justify="center" maxW="100%" w="100%" {...rest}>
<Table
columns={columns}
data={data.routes}