Skip to content

Commit 8663652

Browse files
authored
Update the style of the suggestions (#2734)
* Update the style of the suggestions * Cleanup
1 parent bea36c8 commit 8663652

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

webview-ui/src/components/chat/FollowUpSuggest.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useCallback } from "react"
2-
import { ArrowRight, Edit } from "lucide-react"
2+
import { Edit } from "lucide-react"
33

44
import { Button } from "@/components/ui"
55

@@ -26,18 +26,15 @@ export const FollowUpSuggest = ({ suggestions = [], onSuggestionClick, ts = 1 }:
2626
}
2727

2828
return (
29-
<div className="flex mb-2 flex-col h-full border rounded-xs">
29+
<div className="flex mb-2 flex-col h-full gap-2">
3030
{suggestions.map((suggestion) => (
3131
<div key={`${suggestion}-${ts}`} className="w-full relative group">
3232
<Button
33-
variant="ghost"
33+
variant="outline"
3434
className="text-left whitespace-normal break-words w-full h-auto py-3 justify-start pr-8"
3535
onClick={(event) => handleSuggestionClick(suggestion, event)}
3636
aria-label={suggestion}>
37-
<div className="flex flex-row items-center gap-2">
38-
<ArrowRight />
39-
<div>{suggestion}</div>
40-
</div>
37+
<div>{suggestion}</div>
4138
</Button>
4239
<div
4340
className="absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity"

0 commit comments

Comments
 (0)