File tree 7 files changed +17
-18
lines changed
7 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 119
119
padding : 15px ;
120
120
overflow : auto;
121
121
}
122
+ .vp-popup-content {
123
+ min-height : calc (100% - 30px );
124
+ }
122
125
.vp-popup-footer {
123
126
position : relative;
124
127
height : 50px ;
Original file line number Diff line number Diff line change 46
46
<!-- Title -->
47
47
</ label >
48
48
< 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 ">
51
51
< img class ="vp-popup-close " src ="/nbextensions/visualpython/img/close_big.svg " title ="Close popup "/>
52
52
</ div >
53
53
< 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([
260
260
$ ( this . wrapSelector ( '.vp-popup-maximize' ) ) . on ( 'click' , function ( evt ) {
261
261
// save position
262
262
that . config . position = $ ( that . wrapSelector ( ) ) . position ( ) ;
263
+ // save size
264
+ that . config . size = {
265
+ width : $ ( that . wrapSelector ( ) ) . width ( ) ,
266
+ height : $ ( that . wrapSelector ( ) ) . height ( )
267
+ }
263
268
// maximize popup
264
269
$ ( that . wrapSelector ( ) ) . css ( {
265
270
width : '100%' ,
You can’t perform that action at this time.
0 commit comments