File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 119119 padding : 15px ;
120120 overflow : auto;
121121}
122+ .vp-popup-content {
123+ min-height : calc (100% - 30px );
124+ }
122125.vp-popup-footer {
123126 position : relative;
124127 height : 50px ;
Original file line number Diff line number Diff line change 4646 <!-- Title -->
4747 </ label >
4848 < img class ="vp-popup-toggle " src ="/nbextensions/visualpython/img/minimize.svg " title ="Minimize this popup ">
49- < img class ="vp-popup-maximize " src ="/nbextensions/visualpython/img/maximize .svg " title ="Maximize this popup ">
50- < img class ="vp-popup-return " src ="/nbextensions/visualpython/img/returnSize .svg " title ="Return size of this popup ">
49+ < img class ="vp-popup-maximize " src ="/nbextensions/visualpython/img/max_window .svg " title ="Maximize this popup ">
50+ < img class ="vp-popup-return " src ="/nbextensions/visualpython/img/min_window .svg " title ="Return size of this popup ">
5151 < img class ="vp-popup-close " src ="/nbextensions/visualpython/img/close_big.svg " title ="Close popup "/>
5252 </ div >
5353 < div class ="vp-popup-body vp-scrollbar ">
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -260,6 +260,11 @@ define([
260260 $ ( this . wrapSelector ( '.vp-popup-maximize' ) ) . on ( 'click' , function ( evt ) {
261261 // save position
262262 that . config . position = $ ( that . wrapSelector ( ) ) . position ( ) ;
263+ // save size
264+ that . config . size = {
265+ width : $ ( that . wrapSelector ( ) ) . width ( ) ,
266+ height : $ ( that . wrapSelector ( ) ) . height ( )
267+ }
263268 // maximize popup
264269 $ ( that . wrapSelector ( ) ) . css ( {
265270 width : '100%' ,
You can’t perform that action at this time.
0 commit comments