File tree 5 files changed +17
-18
lines changed 5 files changed +17
-18
lines changed Original file line number Diff line number Diff line change 235
235
}
236
236
.vp-var-view-box table .vp-option-table .vp-var-view-list ,
237
237
.vp-var-view-box table .vp-option-table .vp-var-view-detail {
238
- margin-left : 10px ;
239
- margin-top : 7px ;
238
+ padding : 5px ;
240
239
}
241
240
.vp-var-view-box .vp-var-view-list tbody tr : hover {
242
241
background : # C4C4C4 ;
247
246
color : var (--font-hightlight );
248
247
}
249
248
.vp-var-view-box .var-view-footer {
250
- padding-left : 10px ;
251
- padding-bottom : 7px ;
249
+ margin-top : 7px ;
252
250
}
253
251
.vp-var-view-box .var-view-footer input [type = "text" ] {
254
- width : 200 px ;
252
+ width : 210 px ;
255
253
}
256
254
257
255
/* Column Selector */
258
256
.vp-column-select ,
259
257
.vp-method-select {
260
258
border : 0.25px solid # C4C4C4 ;
261
259
overflow-y : auto;
262
- width : 250px ;
263
260
height : 100px ;
264
261
}
265
262
.vp-column-select-item ,
278
275
.vp-select-data {
279
276
width : 80px ;
280
277
height : 30px ;
281
- background : # F5F5F5 ;
282
- border : 0.25px solid # C4C4C4 ;
283
- box-sizing : border-box;
284
- border-radius : 2px ;
285
278
}
Original file line number Diff line number Diff line change 270
270
font-size : 13px ;
271
271
line-height : 16px ;
272
272
height : 30px ;
273
- margin-bottom : 5px ;
274
273
padding : 3px 7px ;
275
274
color : var (--font-primary );
276
275
background : # FFFFFF ;
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ body {
142
142
box-shadow : 0.5px 0.5px 0.5px rgb (0 0 0 / 10% );
143
143
border-radius : 2px ;
144
144
line-height : 30px ;
145
+ vertical-align : middle;
145
146
font-family : 'AppleSDGothicNeo' ;
146
147
font-size : 14px ;
147
148
text-align : center;
Original file line number Diff line number Diff line change 4
4
< div id ="vp_varViewBox " class ="vp-var-view-box vp-close-on-blur ">
5
5
< div class ="vp-icon-btn vp-close-view "> < img src ="/nbextensions/visualpython/img/close_big.svg "/> </ div >
6
6
< div class ="vp-var-view-div ">
7
- < table id ="vp_varViewList " class ="vp-option-table vp-var-view-list no-selection ">
7
+ < table id ="vp_varViewList " class ="vp-option-table vp-var-view-list no-selection wp100 ">
8
8
< colgroup > < col width ="40% "/> < col width ="* "/> </ colgroup >
9
9
< thead >
10
10
< tr > < th > Variable</ th > < th > Data Type</ th > </ tr >
17
17
</ div >
18
18
< hr style ="margin: 0px; "/>
19
19
< div id ="vp_varViewDetail ">
20
- < table class ="vp-option-table vp-var-view-detail no-selection ">
20
+ < table class ="vp-option-table vp-var-view-detail no-selection wp100 ">
21
21
< colgroup >
22
- < col width ="* "/>
22
+ < col width ="50% "/>
23
+ < col width ="50% "/>
23
24
</ colgroup >
24
25
< thead >
25
26
< tr >
26
27
< th > Column</ th >
28
+ < th > Method</ th >
27
29
</ tr >
28
30
</ thead >
29
31
< tbody >
30
32
< tr >
31
33
< td >
32
- < div id ="vp_varDetailColList " class ="vp-column-select ">
34
+ < div id ="vp_varDetailColList " class ="vp-column-select vp-scrollbar ">
35
+
36
+ </ div >
37
+ </ td >
38
+ < td >
39
+ < div id ="vp_varDetailArray " class ="vp-method-select vp-scrollbar ">
33
40
34
41
</ div >
35
42
</ td >
39
46
</ div >
40
47
< div class ="var-view-footer ">
41
48
< input id ="vp_varSelectCode " type ="text " class ="vp-input " readonly />
42
- < input id ="vp_varSelectBtn " type ="button " value ="select "/>
49
+ < input id ="vp_varSelectBtn " type ="button " class =" vp-button w50 " value ="select "/>
43
50
</ div >
44
51
</ div >
45
52
<!-- Import option -->
Original file line number Diff line number Diff line change @@ -485,7 +485,6 @@ define([
485
485
if ( varType == 'DataFrame' ) {
486
486
if ( varResult . length > 0 ) {
487
487
varResult . forEach ( v => {
488
- // var option = $(`<option value="${v.colName}" data-dtype="${v.dtype}" data-array="${v.array}">${v.colName}</option>`)
489
488
var option = $ ( `<div class="vp-column-select-item"
490
489
data-dtype="${ v . dtype } " data-array="${ v . array } " data-col="${ v . colName } " title="${ v . array } ">
491
490
${ v . colName } </div>` ) ;
@@ -551,7 +550,7 @@ define([
551
550
// allow multi select
552
551
var methodArrayCode = new com_String ( ) ;
553
552
var methodList ;
554
- // 선택된 항목들 중 categorical variable 존재하면 categorical로 분류
553
+ // if categorical variable exists, set as categorical
555
554
var hasObject = false ;
556
555
var selectedColumnList = $ ( that . wrapSelector ( '#vp_varDetailColList .vp-column-select-item.selected' ) ) ;
557
556
if ( selectedColumnList . length > 0 ) {
You can’t perform that action at this time.
0 commit comments