File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ $mat-dialog-content-max-height: 65vh !default;
10
10
// Dialog button horizontal margin. This has been extracted from MDC as they
11
11
// don't expose this value as variable.
12
12
$mat-dialog-button-horizontal-margin : 8px !default ;
13
+ // Dialog container max height. This has been given a default value so the
14
+ // flex-children can be calculated and not overflow on smaller screens.
15
+ $mat-dialog-container-max-height : 95vh !default ;
13
16
14
17
// Note that we disable fallback declarations, but we don't disable fallback
15
18
// values, because there are a lot of internal apps that don't include a proper
@@ -32,6 +35,8 @@ $mat-dialog-button-horizontal-margin: 8px !default;
32
35
// The dialog container is focusable. We remove the default outline shown in browsers.
33
36
outline : 0 ;
34
37
38
+ max-height : $mat-dialog-container-max-height ;
39
+
35
40
.mdc-dialog__container {
36
41
transition-duration : var (--mat-dialog-transition-duration , 0ms );
37
42
}
You can’t perform that action at this time.
0 commit comments