Skip to content

Commit

Permalink
[Dialog] Fix action width issue (#12081)
Browse files Browse the repository at this point in the history
* attemting to fix Issue #11837 ( where the CircularProgress size were incorrect when rendered in a Dialog )

* changint the max-with to the calculated amount instead of using theme.spacing.unit * 8

* remove dialog action min-width
  • Loading branch information
mim-Armand authored and oliviertassinari committed Jul 9, 2018
1 parent f1e82a8 commit d205e2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/material-ui/src/Button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const styles = theme => ({
...theme.typography.button,
lineHeight: '1.4em', // Improve readability for multiline button.
boxSizing: 'border-box',
minWidth: 88,
minWidth: 64,
minHeight: 36,
padding: '8px 16px',
borderRadius: theme.shape.borderRadius,
Expand Down
1 change: 0 additions & 1 deletion packages/material-ui/src/DialogActions/DialogActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const styles = {
},
action: {
margin: '0 4px',
minWidth: 64,
},
};

Expand Down

0 comments on commit d205e2d

Please sign in to comment.