@@ -84,7 +84,7 @@ class AssistantView extends React.Component<Props, State> implements SessionCont
84
84
getWatermarkView ( ) : any {
85
85
return < a style = { styles . watermark } href = 'https://www.superluminal.dev' target = '_blank' >
86
86
< span style = { { opacity : 0.4 , fontSize : '11px' } } > Powered by</ span >
87
- < img src = { LogoText } height = "14px" style = { { opacity : 0.4 , marginTop : '1px' } } />
87
+ < img src = { LogoText } height = "14px" style = { { opacity : 0.4 , marginTop : '1px' } } draggable = { false } />
88
88
</ a >
89
89
}
90
90
@@ -109,7 +109,7 @@ class AssistantView extends React.Component<Props, State> implements SessionCont
109
109
case 'assistant' :
110
110
if ( 'text' in message . content ) {
111
111
return < div key = { message . id } style = { styles . messageContainer } >
112
- < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" />
112
+ < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" draggable = { false } />
113
113
< div style = { { ...styles . assistantMessage , ...assistantMessageStyle } } > { message . content . text } </ div >
114
114
</ div >
115
115
} else if ( 'plot' in message . content ) {
@@ -120,7 +120,7 @@ class AssistantView extends React.Component<Props, State> implements SessionCont
120
120
const height = ( ( plot . layout . width * width ) / plot . layout . height ) ;
121
121
const layout = { ...plot . layout , width, height, margin : { t : 30 , b : 10 , l : 10 , r : 10 , pad : 0 } } ;
122
122
return < div key = { message . id } style = { styles . messageContainer } >
123
- < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" />
123
+ < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" draggable = { false } />
124
124
< div style = { { display : 'flex' , flexDirection : 'column' , rowGap : '12px' } } >
125
125
< div style = { { ...styles . assistantMessage , ...{ maxWidth : '100%' , background : '#FFFFFF' } , ...assistantMessageStyle } } >
126
126
< Plot data = { plot . data } layout = { layout } config = { { toImageButtonOptions : { scale : 3 } } } />
@@ -131,8 +131,8 @@ class AssistantView extends React.Component<Props, State> implements SessionCont
131
131
const table = message . content . table ;
132
132
return < div key = { message . id } style = { styles . messageContainer } >
133
133
< div style = { { display : 'flex' , justifyContent : 'space-between' , alignItems : 'flex-end' } } >
134
- < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" />
135
- < img src = { IconExpand } width = "20px" height = "20px" onClick = { ( ) => this . expandTable ( table ) } />
134
+ < img src = { LogoInverted } style = { styles . profilePictureView } width = "24px" height = "24px" draggable = { false } />
135
+ < img src = { IconExpand } width = "20px" height = "20px" onClick = { ( ) => this . expandTable ( table ) } draggable = { false } />
136
136
</ div >
137
137
< div style = { { ...styles . assistantMessage , ...{ maxWidth : '100%' , background : '#FFFFFF' } , ...assistantMessageStyle } } >
138
138
< TablePreview table = { table } />
@@ -155,7 +155,7 @@ class AssistantView extends React.Component<Props, State> implements SessionCont
155
155
</ div >
156
156
} else {
157
157
return < div style = { { width : '100%' , height : '100%' , display : 'flex' , flexDirection : 'column' , justifyContent : 'center' , alignItems : 'center' } } >
158
- < img src = 'https://superluminal.dev/images/ai_new.gif' width = "56px" height = "56px" />
158
+ < img src = 'https://superluminal.dev/images/ai_new.gif' width = "56px" height = "56px" draggable = { false } />
159
159
< div style = { { fontSize : '20px' , fontWeight : 600 , color : '#000000' , marginTop : '8px' } } > Loading</ div >
160
160
</ div >
161
161
}
0 commit comments