Hardcoding size large in MuiButton

This commit is contained in:
apanizo 2018-08-31 14:21:59 +02:00
parent 725a2b27ee
commit 8d01fdb75b
2 changed files with 6 additions and 2 deletions

View File

@ -116,7 +116,7 @@ const UserDetails = ({
<Hairline margin="xs" />
<Row className={classes.disconnect}>
<Button
size="large"
size="medium"
variant="raised"
color="primary"
fullWidth

View File

@ -1,7 +1,7 @@
// @flow
import red from '@material-ui/core/colors/red'
import { createMuiTheme } from '@material-ui/core/styles'
import { primary, secondary } from './variables'
import { primary, secondary, md, xl } from './variables'
export type WithStyles = {
classes: Object,
@ -30,6 +30,10 @@ export default createMuiTheme({
containedPrimary: {
backgroundColor: '#467ee5',
},
sizeLarge: {
padding: `${md} ${xl}`,
minHeight: '52px',
},
},
},
palette,