Skip to content

Commit

Permalink
[Dialog] Add max-height back (mui#11914)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Jun 19, 2018
1 parent a853b4b commit 74a9827
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/material-ui/src/Dialog/Dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const styles = theme => ({
paper: {
display: 'flex',
margin: theme.spacing.unit * 4,
maxHeight: `calc(100% - ${theme.spacing.unit * 8}px)`,
flexDirection: 'column',
flex: '0 1 auto',
position: 'relative',
Expand Down

0 comments on commit 74a9827

Please sign in to comment.