From 74a982744a534aa71ad3a083f36f292143354afa Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Tue, 19 Jun 2018 19:36:05 +0200 Subject: [PATCH] [Dialog] Add max-height back (#11914) --- packages/material-ui/src/Dialog/Dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/material-ui/src/Dialog/Dialog.js b/packages/material-ui/src/Dialog/Dialog.js index fc52951d2571c7..08259edec4949d 100644 --- a/packages/material-ui/src/Dialog/Dialog.js +++ b/packages/material-ui/src/Dialog/Dialog.js @@ -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',