fix(webui): align quoted message corner radius

This commit is contained in:
chengyongru authored and chengyongru committed 2026-11-13 21:52:10 +08:00
1 parent 3f65a8f86c
commit b944748f52
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -572,7 +572,7 @@ function UserQuotedContext({ text, label }: { text: string; label: string }) {
data-theme-surface
data-theme-ink
className={cn(
"ml-auto flex w-fit max-w-full min-w-0 items-start gap-2 rounded-control",
"ml-auto flex w-fit max-w-full min-w-0 items-start gap-2 rounded-floating",
"border border-border/60 bg-muted/35 px-3 py-2 text-left text-muted-foreground",
)}
aria-label={label}
+4 -1
View File
@@ -474,7 +474,10 @@ describe("MessageBubble", () => {
expect(quote).toHaveTextContent("selected assistant excerpt");
expect(quote).not.toHaveAttribute("title");
expect(screen.queryByText("Quoted context")).not.toBeInTheDocument();
expect(screen.getByText("What about this?")).toBeInTheDocument();
const messageBubble = screen.getByText("What about this?");
expect(messageBubble).toBeInTheDocument();
expect(quote).toHaveClass("rounded-floating");
expect(messageBubble).toHaveClass("rounded-floating");
rerender(
<MessageBubble