File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 47
47
}
48
48
49
49
#container {
50
- width: 400px ;
51
- height: 400px ;
50
+ width: 100 % ;
51
+ height: 100 % ;
52
+ min- width: 400px ;
53
+ min- height: 400px ;
52
54
}
53
55
< / style>
54
- < div id= " container" width = " 500 " height = " 500 " >
56
+ < div id= " container" >
55
57
< div id= " crosshair" >< img src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/crosshair4.png" >< / div>
56
58
< / div>
57
- < script type= " text/javascript" src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/bundle .js" >< / script>
59
+ < script type= " text/javascript" src= " https://s3.amazonaws.com/cdo-dist/cdo-voxel/bundlev2 .js" >< / script>
58
60
< % } %>
59
61
<% if ((app === " maze" && options .levelId .indexOf (' 3_' ) === 0 ) ||
60
62
(app === " webapp" && options .levelId .indexOf (' ec_' ) === 0 ) ||
Original file line number Diff line number Diff line change @@ -98,7 +98,8 @@ Minecraft.init = function(config) {
98
98
// Adjust visualizationColumn width.
99
99
var visualizationColumn = document . getElementById ( 'visualizationColumn' ) ;
100
100
visualizationColumn . style . width = '400px' ;
101
- visualizationColumn . appendChild ( document . getElementById ( 'container' ) ) ;
101
+ var visualization = document . getElementById ( 'visualization' ) ;
102
+ visualization . appendChild ( document . getElementById ( 'container' ) ) ;
102
103
103
104
// base's BlocklyApps.resetButtonClick will be called first
104
105
var resetButton = document . getElementById ( 'resetButton' ) ;
You can’t perform that action at this time.
0 commit comments