fix(webui): soften model selector emphasis

This commit is contained in:
chengyongru
2026-07-27 23:13:14 +08:00
committed by chengyongru
parent f78ad59ed0
commit b99e0f937e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -446,6 +446,9 @@ describe("ThreadComposer", () => {
);
expect(screen.getByText("gpt-4o")).toBeInTheDocument();
const modelPill = screen.getByText("gpt-4o").closest(".composer-model-pill");
expect(modelPill).toHaveClass("font-medium", "text-foreground/70");
expect(modelPill).not.toHaveClass("font-semibold");
expect(screen.getByTestId("composer-model-logo-openai")).toBeInTheDocument();
const input = screen.getByPlaceholderText("Type your message...");
expect(input.className).toContain("min-h-[50px]");