Changesets · Branches · Tags · Compare
| Changeset | 27e95c03b69916556ce0724103c05bfde9308b79c8ded9c61b91ba325563668c |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-17 15:49 +02:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-17 15:49 +02:00 |
| Parents | a95359706ef4, 2536cc3b1ea9 |
1 file changed
modified gui/src/components/StepContainer/ResponseActions.tsx +6 −11
| @@ -1,6 +1,6 @@ | ||
| 1 | 1 | import { |
| 2 | 2 | BarsArrowDownIcon, |
| 3 | - PlusIcon, | |
| 3 | + PencilSquareIcon, | |
| 4 | 4 | TrashIcon, |
| 5 | 5 | } from "@heroicons/react/24/outline"; |
| 6 | 6 | import { ChatHistoryItem } from "core"; |
| @@ -47,18 +47,13 @@ | ||
| 47 | 47 | return ( |
| 48 | 48 | <div className="text-description-muted mx-2 flex cursor-default items-center justify-end space-x-1 bg-transparent pb-0 text-xs"> |
| 49 | 49 | {isLast && ruleGenerationSupported && ( |
| 50 | - <div | |
| 51 | - className="mr-1 border-y-0 border-l-0 border-r border-solid pr-2" | |
| 50 | + <HeaderButtonWithToolTip | |
| 51 | + tabIndex={-1} | |
| 52 | + text="Generate rule" | |
| 52 | 53 | onClick={onGenerateRule} |
| 53 | 54 | > |
| 54 | - <span className="flex cursor-pointer items-center hover:brightness-125"> | |
| 55 | - <PlusIcon className="mr-1 h-3 w-3" /> | |
| 56 | - <span className="xs:block hidden whitespace-nowrap"> | |
| 57 | - Generate rule | |
| 58 | - </span> | |
| 59 | - <span className="xs:hidden block whitespace-nowrap">Rule</span> | |
| 60 | - </span> | |
| 61 | - </div> | |
| 55 | + <PencilSquareIcon className="text-description-muted h-3.5 w-3.5" /> | |
| 56 | + </HeaderButtonWithToolTip> | |
| 62 | 57 | )} |
| 63 | 58 | |
| 64 | 59 | {isTruncated && ( |