File tree Expand file tree Collapse file tree 2 files changed +6
-73
lines changed Expand file tree Collapse file tree 2 files changed +6
-73
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,6 @@ const CODE_SNIPPET_MORE_OTPIONS_DOWNLOAD =
130
130
'jp-codeSnippet-more-options-download' ;
131
131
const CODE_SNIPPET_CREATE_NEW_BTN = 'jp-createSnippetBtn' ;
132
132
const CODE_SNIPPET_NAME = 'jp-codeSnippet-name' ;
133
- const CODE_SNIPPET_HEADER_BOX = 'jp-codeSnippet-header-class' ;
134
133
135
134
/**
136
135
* The threshold in pixels to start a drag event.
@@ -1620,14 +1619,12 @@ export class CodeSnippetDisplay extends React.Component<
1620
1619
< addIcon . react tag = "span" right = "7px" top = "5px" />
1621
1620
</ button >
1622
1621
</ header >
1623
- < div className = { CODE_SNIPPET_HEADER_BOX } >
1624
- < FilterTools
1625
- tagDictionary = { this . getActiveTagsDictionary ( ) }
1626
- languageTags = { this . getActiveTags ( ) [ 1 ] }
1627
- snippetTags = { this . getActiveTags ( ) [ 0 ] }
1628
- onFilter = { this . filterSnippets }
1629
- />
1630
- </ div >
1622
+ < FilterTools
1623
+ tagDictionary = { this . getActiveTagsDictionary ( ) }
1624
+ languageTags = { this . getActiveTags ( ) [ 1 ] }
1625
+ snippetTags = { this . getActiveTags ( ) [ 0 ] }
1626
+ onFilter = { this . filterSnippets }
1627
+ />
1631
1628
< div className = { CODE_SNIPPETS_CONTAINER } >
1632
1629
< div >
1633
1630
{ this . state . codeSnippets . map ( ( codeSnippet , id ) =>
Original file line number Diff line number Diff line change @@ -679,67 +679,3 @@ mark.jp-codeSnippet-search-bolding {
679
679
outline : 1px solid var (--jp-brand-color1 );
680
680
outline-offset : 4px ;
681
681
}
682
-
683
- /*Sort Feature Elements*/
684
- .jp-codeSnippet-header-class {
685
- display : flex;
686
- border-bottom : var (--jp-border-width ) solid var (--jp-border-color1 );
687
- width : 100% ;
688
- }
689
-
690
- .jp-codeSnippet-sort-tool {
691
- height : 20px ;
692
- width : 16px ;
693
- float : right;
694
- margin-right : 6px ;
695
- margin-top : 5px ;
696
- }
697
-
698
- .jp-codeSnippet-sort-icon-inactive {
699
- background-image : url(./ icon/jupyter_search_option_inactive.svg);
700
- background-repeat : no-repeat;
701
- height : 20px ;
702
- width : 16px ;
703
- float : right;
704
- cursor : pointer;
705
- }
706
-
707
- .jp-codeSnippet-sort-icon-active {
708
- background-image : url(./ icon/jupyter_search_option_active.svg);
709
- background-repeat : no-repeat;
710
- height : 20px ;
711
- width : 16px ;
712
- float : right;
713
- cursor : pointer;
714
- }
715
-
716
- .jp-codeSnippet-sort-content {
717
- width : 158px ;
718
- }
719
-
720
- .jp-codeSnippet-sort-sortby {
721
- white-space : pre;
722
- padding-bottom : 2px ;
723
- margin-left : 18px ;
724
- }
725
-
726
- .jp-codeSnippet-sort-option-unselected {
727
- padding-top : 2px ;
728
- white-space : pre;
729
- cursor : pointer;
730
- padding-left : 18px ;
731
- }
732
- .jp-codeSnippet-sort-option-selected {
733
- padding-top : 2px ;
734
- white-space : pre;
735
- cursor : pointer;
736
- display : flex;
737
- }
738
-
739
- .jp-codeSnippet-sort-option-unselected : hover {
740
- background : var (--jp-layout-color2 );
741
- }
742
-
743
- .jp-codeSnippet-sort-line {
744
- border-bottom : 1px var (--jp-layout-color3 ) solid;
745
- }
You can’t perform that action at this time.
0 commit comments