@@ -211,7 +211,7 @@ function ConversationCard(props) {
211
211
className = { props . draggable ? 'gpt-header draggable' : 'gpt-header' }
212
212
style = "padding:15px;user-select:none;"
213
213
>
214
- < span className = "gpt-util-group" >
214
+ < span className = "gpt-util-group" style = { props . notClampSize ? { } : { flexGrow : 1 } } >
215
215
{ props . closeable ? (
216
216
< XLg
217
217
className = "gpt-util-icon"
@@ -235,7 +235,7 @@ function ConversationCard(props) {
235
235
< img src = { logo } style = "user-select:none;width:20px;height:20px;" />
236
236
) }
237
237
< select
238
- style = { props . notClampSize ? { } : { width : windowSize [ 0 ] * 0.15 + 'px' } }
238
+ style = { props . notClampSize ? { } : { width : 0 , flexGrow : 1 } }
239
239
className = "normal-button"
240
240
required
241
241
onChange = { ( e ) => {
@@ -268,7 +268,19 @@ function ConversationCard(props) {
268
268
} ) }
269
269
</ select >
270
270
</ span >
271
- { ! props . draggable && (
271
+ < span className = "gpt-util-group" style = { { flexGrow : 1 , justifyContent : 'flex-end' } } >
272
+ { session && session . conversationId && (
273
+ < a
274
+ title = { t ( 'Continue on official website' ) }
275
+ href = { 'https://chat.openai.com/chat/' + session . conversationId }
276
+ target = "_blank"
277
+ rel = "nofollow noopener noreferrer"
278
+ className = "gpt-util-icon"
279
+ style = "color: inherit;"
280
+ >
281
+ < LinkExternalIcon size = { 16 } />
282
+ </ a >
283
+ ) }
272
284
< WindowDesktop
273
285
className = "gpt-util-icon"
274
286
title = { t ( 'Float the Window' ) }
@@ -289,20 +301,6 @@ function ConversationCard(props) {
289
301
)
290
302
} }
291
303
/>
292
- ) }
293
- < span className = "gpt-util-group" >
294
- { session && session . conversationId && (
295
- < a
296
- title = { t ( 'Continue on official website' ) }
297
- href = { 'https://chat.openai.com/chat/' + session . conversationId }
298
- target = "_blank"
299
- rel = "nofollow noopener noreferrer"
300
- className = "gpt-util-icon"
301
- style = "color: inherit;"
302
- >
303
- < LinkExternalIcon size = { 16 } />
304
- </ a >
305
- ) }
306
304
< DeleteButton
307
305
size = { 16 }
308
306
text = { t ( 'Clear Conversation' ) }
0 commit comments