File tree 2 files changed +10
-16
lines changed
2 files changed +10
-16
lines changed Original file line number Diff line number Diff line change 475
475
}
476
476
}
477
477
478
- & .status-stopped .ai-help-message-content {
479
- & .empty ::after ,
480
- > :not (ol ):not (ul ):not (pre ):last-child :after ,
481
- > ol :last-child li :last-child :after ,
482
- > pre :last-child code :after ,
483
- > ul :last-child li :last-child :after {
484
- color : var (--text-muted );
485
- content : " ■\00a0 Stopped answering" ;
486
- display : block ;
487
- margin-top : 1.7rem ;
488
- }
489
-
490
- & .empty ::after {
491
- margin-left : unset ;
492
- }
478
+ .stopped-message {
479
+ color : var (--text-muted );
480
+ display : block ;
481
+ margin-top : 1.7rem ;
493
482
}
494
483
}
495
484
Original file line number Diff line number Diff line change @@ -489,6 +489,11 @@ function AIHelpAssistantResponse({
489
489
>
490
490
{ isOffTopic ? SORRY_FRONTEND : message . content }
491
491
</ ReactMarkdown >
492
+ { message . status === "stopped" && (
493
+ < section className = "stopped-message" >
494
+ { "■\u00a0Stopped answering" }
495
+ </ section >
496
+ ) }
492
497
{ ( message . status === "complete" || isOffTopic ) && (
493
498
< >
494
499
< section className = "ai-help-feedback" >
@@ -536,7 +541,7 @@ function AIHelpAssistantResponseSources({
536
541
< div
537
542
className = { [
538
543
"ai-help-message-progress" ,
539
- message . status !== MessageStatus . Pending && "complete" ,
544
+ message . status === MessageStatus . Pending ? "active" : "complete" ,
540
545
]
541
546
. filter ( Boolean )
542
547
. join ( " " ) }
You can’t perform that action at this time.
0 commit comments