##// END OF EJS Templates
Set both height and width using css
Pablo de Oliveira -
Show More
@@ -335,8 +335,7 b' var IPython = (function (IPython) {'
335 // Create an iframe to isolate the subarea from the rest of the
335 // Create an iframe to isolate the subarea from the rest of the
336 // document
336 // document
337 var iframe = $('<iframe/>').addClass('box-flex1');
337 var iframe = $('<iframe/>').addClass('box-flex1');
338 iframe.attr('height', 1);
338 iframe.css({'height':1, 'width':'100%', 'display':'block'});
339 iframe.css({'width':'100%', 'display':'block'});
340 iframe.attr('frameborder', 0);
339 iframe.attr('frameborder', 0);
341 iframe.attr('scrolling', 'auto');
340 iframe.attr('scrolling', 'auto');
342
341
General Comments 0
You need to be logged in to leave comments. Login now