Skip to content

Commit 2dd4818

Browse files
committed
fix: adjust styling in ChatRow and FollowUpSuggest components
1 parent d3795cd commit 2dd4818

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const ChatRow = memo(
6363
const prevHeightRef = useRef(0)
6464

6565
const [chatrow, { height }] = useSize(
66-
<div className="px-[15px] py-[10px] pr-[6px]">
66+
<div className="px-[15px] py-[10px]">
6767
<ChatRowContent {...props} />
6868
</div>,
6969
)

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useCallback } from "react"
22
import { Edit } from "lucide-react"
3-
3+
import { CheckboxIcon } from "@radix-ui/react-icons"
44
import { Button } from "@/components/ui"
55

66
import { useAppTranslation } from "@src/i18n/TranslationContext"
@@ -31,9 +31,10 @@ export const FollowUpSuggest = ({ suggestions = [], onSuggestionClick, ts = 1 }:
3131
<div key={`${suggestion}-${ts}`} className="w-full relative group">
3232
<Button
3333
variant="outline"
34-
className="text-left whitespace-normal break-words w-full h-auto py-3 justify-start pr-8"
34+
className="text-left bg-vscode-editor-background whitespace-normal break-words w-full h-auto py-2 justify-start pr-8 rounded-md"
3535
onClick={(event) => handleSuggestionClick(suggestion, event)}
3636
aria-label={suggestion}>
37+
<CheckboxIcon />
3738
<div>{suggestion}</div>
3839
</Button>
3940
<div

0 commit comments

Comments
 (0)