File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
src/packages/frontend/jupyter Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 7
7
8
8
declare const $ : any ;
9
9
10
- import { Button } from "antd" ;
11
10
import { delay } from "awaiting" ;
12
11
import CodeMirror from "codemirror" ;
13
12
import { Map as ImmutableMap } from "immutable" ;
@@ -793,13 +792,16 @@ export const CodeMirrorEditor: React.FC<CodeMirrorEditorProps> = ({
793
792
Enter code{ setShowAICellGen == null ? "..." : " or " }
794
793
</ div >
795
794
{ setShowAICellGen != null ? (
796
- < Button
797
- type = "link"
798
- style = { { marginLeft : "-15px" , opacity : 0.7 } }
795
+ < a
796
+ style = { {
797
+ marginTop : "6px" ,
798
+ opacity : 0.7 ,
799
+ fontSize : "inherit" ,
800
+ } }
799
801
onClick = { ( ) => setShowAICellGen ( "replace" ) }
800
802
>
801
803
generate using AI...
802
- </ Button >
804
+ </ a >
803
805
) : undefined }
804
806
</ div >
805
807
</ div >
You can’t perform that action at this time.
0 commit comments