From 93f89546c095dd4965d6678edc7416555411085a Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Thu, 17 Sep 2026 20:16:41 -0700 Subject: [PATCH] refactor(web): own inline link styling in button variant --- apps/web/src/components/chat/V2LifecycleRow.tsx | 2 +- apps/web/src/components/ui/button.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/src/components/chat/V2LifecycleRow.tsx b/apps/web/src/components/chat/V2LifecycleRow.tsx index 5115133547a0..f47a63809e07 100644 --- a/apps/web/src/components/chat/V2LifecycleRow.tsx +++ b/apps/web/src/components/chat/V2LifecycleRow.tsx @@ -189,9 +189,9 @@ export function V2LifecycleRow(props: { label={<>Created thread{item.title ? ` ยท ${item.title}` : ""}} trailing={ props.onOpenThread(item.targetThreadId)} - className="rounded-sm text-primary hover:underline" > Open chat diff --git a/apps/web/src/components/ui/button.tsx b/apps/web/src/components/ui/button.tsx index 898e205d4843..2cecf0ac31d7 100644 --- a/apps/web/src/components/ui/button.tsx +++ b/apps/web/src/components/ui/button.tsx @@ -99,8 +99,9 @@ export { Button, buttonVariants }; export function InlineButton({ className, underline = false, + variant = "default", ...props -}: React.ComponentProps<"button"> & { underline?: boolean }) { +}: React.ComponentProps<"button"> & { underline?: boolean; variant?: "default" | "link" }) { return (