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 : {
@@ -134,12 +134,15 @@ const StageLockDialog = React.createClass({
134
134
} ,
135
135
136
136
render ( ) {
137
+ const responsiveHeight = {
138
+ maxHeight : window . innerHeight * 0.8 - 100
139
+ } ;
137
140
return (
138
141
< BaseDialog
139
142
isOpen = { this . props . isOpen }
140
143
handleClose = { this . props . handleClose }
141
144
>
142
- < div style = { styles . main } >
145
+ < div style = { [ styles . main , responsiveHeight ] } >
143
146
< div style = { styles . title } > { commonMsg . assessmentSteps ( ) } </ div >
144
147
< table >
145
148
< tbody >
You can’t perform that action at this time.
0 commit comments