File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
apps/src/code-studio/components/progress Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const styles = {
15
15
marginLeft : 20 ,
16
16
marginRight : 20 ,
17
17
color : color . charcoal ,
18
- maxHeight : 600 ,
18
+ // maxHeight provided in render method based on window size
19
19
overflowY : 'scroll'
20
20
} ,
21
21
title : {
@@ -139,12 +139,15 @@ const StageLockDialog = React.createClass({
139
139
} ,
140
140
141
141
render ( ) {
142
+ const responsiveHeight = {
143
+ maxHeight : window . innerHeight * 0.8 - 100
144
+ } ;
142
145
return (
143
146
< BaseDialog
144
147
isOpen = { this . props . isOpen }
145
148
handleClose = { this . props . handleClose }
146
149
>
147
- < div style = { styles . main } >
150
+ < div style = { [ styles . main , responsiveHeight ] } >
148
151
< div style = { styles . title } > { commonMsg . assessmentSteps ( ) } </ div >
149
152
< table >
150
153
< tbody >
You can’t perform that action at this time.
0 commit comments