forked from mirrors/thatmattlove-hyperglass
fix table layout issues
This commit is contained in:
parent
ef520e8e92
commit
515651c0fc
3 changed files with 4 additions and 3 deletions
|
|
@ -11,7 +11,6 @@ export const CardBody = (props: ICardBody) => {
|
|||
<Flex
|
||||
bg={bg}
|
||||
w="100%"
|
||||
maxW="95%"
|
||||
rounded="md"
|
||||
color={color}
|
||||
onClick={onClick}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue