diff --git a/packages/core/src/layout/InfoCard/BottomLink.js b/packages/core/src/layout/InfoCard/BottomLink.js index c3d7f1efc0..5dafa72978 100644 --- a/packages/core/src/layout/InfoCard/BottomLink.js +++ b/packages/core/src/layout/InfoCard/BottomLink.js @@ -21,22 +21,19 @@ import { Divider, ListItemText, withStyles } from '@material-ui/core'; import { ListItem, ListItemIcon } from '@material-ui/core'; import ArrowIcon from '@material-ui/icons/ArrowForward'; import grey from '@material-ui/core/colors/grey'; +import Box from '@material-ui/core/Box'; -const LinkBottomText = withStyles({ - primary: { - fontWeight: '700', - color: grey[900], - }, -})(ListItemText); - -const ListItemBottom = withStyles({ +const styles = theme => ({ root: { maxWidth: 'fit-content', - padding: '16px 16px 16px 20px', + padding: theme.spacing(2, 2, 2, 2.5) }, -})(ListItem); - -export default class BottomLink extends Component { + boxTitle: { + margin: 0, + color: grey[900] + } +}) +class BottomLink extends Component { static propTypes = { link: PropTypes.string, title: PropTypes.string, @@ -44,19 +41,23 @@ export default class BottomLink extends Component { }; render() { - const { link, title, onClick } = this.props; + const { link, title, onClick, classes } = this.props; return (
- - {title} + + + {title} + - +
); } } + +export default withStyles(styles)(BottomLink); \ No newline at end of file