File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,7 @@ namespace Private {
460
460
filterType . appendChild ( varTypeOption ) ;
461
461
filterType . appendChild ( nameOption ) ;
462
462
const searchContainer = document . createElement ( 'div' ) ;
463
- searchContainer . className = 'jp-InputGroup filter-search-container' ;
463
+ searchContainer . className = 'filter-search-container' ;
464
464
const input = document . createElement ( 'jp-text-field' ) as TextField ;
465
465
input . setAttribute ( 'type' , 'text' ) ;
466
466
input . setAttribute ( 'placeholder' , 'Filter out variable' ) ;
@@ -494,11 +494,10 @@ namespace Private {
494
494
const buttonText = document . createElement ( 'div' ) ;
495
495
buttonText . className = 'filtered-variable-button-text' ;
496
496
buttonText . innerHTML = filterName ;
497
- const icon = closeIcon . element ( {
497
+ closeIcon . element ( {
498
498
container : filterButtonContent
499
499
} ) ;
500
- filterButtonContent . appendChild ( buttonText ) ;
501
- filterButtonContent . appendChild ( icon ) ;
500
+ filterButtonContent . insertAdjacentElement ( 'afterbegin' , buttonText ) ;
502
501
filteredButton . appendChild ( filterButtonContent ) ;
503
502
filteredButton . className = FILTERED_BUTTON_CLASS ;
504
503
return filteredButton ;
Original file line number Diff line number Diff line change 10
10
margin : auto;
11
11
width : 100% ;
12
12
color : var (--jp-content-font-color1 );
13
+ padding : 0 4px ;
13
14
}
14
15
15
16
.jp-VarInspector-table td ,
42
43
font-size : var (--jp-ui-font-size1 );
43
44
color : var (--jp-content-font-color1 );
44
45
text-align : left;
45
- padding-left : 10px ;
46
+ padding : 4 px 10px ;
46
47
}
47
48
48
49
.filter-container {
You can’t perform that action at this time.
0 commit comments