Skip to content

Commit

Permalink
prettier formatting for Overworld
Browse files Browse the repository at this point in the history
  • Loading branch information
mazameli committed Jul 22, 2018
1 parent a11ad53 commit c2412d6
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions frontend/src/metabase/containers/Overworld.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,18 +203,28 @@ class Overworld extends React.Component {
mb={3}
size={28}
/>
<Flex align='center'>
<Flex align="center">
<h3>{database.name}</h3>
<Box ml='auto' mr={1} className="hover-child">
<Flex align='center'>
<Box ml="auto" mr={1} className="hover-child">
<Flex align="center">
<Tooltip tooltip={t`X-ray this table`}>
<Link to={`explore/${database.id}/`}>
<Icon name="bolt" mx={1} color={normal.yellow} size={20} />
<Icon
name="bolt"
mx={1}
color={normal.yellow}
size={20}
/>
</Link>
</Tooltip>
<Tooltip tooltip={t`Learn about this table`}>
<Link to={`reference/databases/${database.id}`}>
<Icon name="reference" color={normal.grey1} />
<Link
to={`reference/databases/${database.id}`}
>
<Icon
name="reference"
color={normal.grey1}
/>
</Link>
</Tooltip>
</Flex>
Expand Down

0 comments on commit c2412d6

Please sign in to comment.