File tree Expand file tree Collapse file tree 2 files changed +19
-9
lines changed
components/ConversationCard Expand file tree Collapse file tree 2 files changed +19
-9
lines changed Original file line number Diff line number Diff line change @@ -334,24 +334,26 @@ function ConversationCard(props) {
334
334
} }
335
335
>
336
336
{ props . closeable ? (
337
- < XLg
337
+ < span
338
338
className = "gpt-util-icon"
339
339
title = { t ( 'Close the Window' ) }
340
- size = { 16 }
341
340
onClick = { ( ) => {
342
341
port . disconnect ( )
343
342
if ( props . onClose ) props . onClose ( )
344
343
} }
345
- />
344
+ >
345
+ < XLg size = { 16 } />
346
+ </ span >
346
347
) : props . dockable ? (
347
- < Pin
348
+ < span
348
349
className = "gpt-util-icon"
349
350
title = { t ( 'Pin the Window' ) }
350
- size = { 16 }
351
351
onClick = { ( ) => {
352
352
if ( props . onDock ) props . onDock ( )
353
353
} }
354
- />
354
+ >
355
+ < Pin size = { 16 } />
356
+ </ span >
355
357
) : (
356
358
< img src = { logo } style = "user-select:none;width:20px;height:20px;" />
357
359
) }
@@ -412,10 +414,9 @@ function ConversationCard(props) {
412
414
< LinkExternalIcon size = { 16 } />
413
415
</ a >
414
416
) }
415
- < WindowDesktop
417
+ < span
416
418
className = "gpt-util-icon"
417
419
title = { t ( 'Float the Window' ) }
418
- size = { 16 }
419
420
onClick = { ( ) => {
420
421
const position = { x : window . innerWidth / 2 - 300 , y : window . innerHeight / 2 - 200 }
421
422
const toolbarContainer = createElementAtPosition ( position . x , position . y )
@@ -431,7 +432,9 @@ function ConversationCard(props) {
431
432
toolbarContainer ,
432
433
)
433
434
} }
434
- />
435
+ >
436
+ < WindowDesktop size = { 16 } />
437
+ </ span >
435
438
< DeleteButton
436
439
size = { 16 }
437
440
text = { t ( 'Clear Conversation' ) }
Original file line number Diff line number Diff line change 1251
1251
cursor : pointer ;
1252
1252
align-items : center ;
1253
1253
z-index : 0 ;
1254
+
1255
+ svg {
1256
+ z-index : 0 ;
1257
+ color : var (--font-color );
1258
+ background-color : var (--theme-color );
1259
+ }
1254
1260
}
1255
1261
1256
1262
.normal-button {
1431
1437
background-color : var (--theme-color );
1432
1438
color : var (--toolbar-color );
1433
1439
cursor : pointer ;
1440
+ z-index : 2147483647 ;
1434
1441
}
1435
1442
1436
1443
.chatgptbox-selection-toolbar-button :hover {
You can’t perform that action at this time.
0 commit comments