Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

style: make assistant button less prominent on /view

Marc Seitz6a196f214818
diff --git a/components/view/nav.tsx b/components/view/nav.tsx
index 8b9a8009..42d17eeb 100644
--- a/components/view/nav.tsx
+++ b/components/view/nav.tsx
@@ -124,14 +124,15 @@ export default function Nav({
{assistantEnabled ? (
<Link href={`/view/${linkId}/chat`}>
<Button
- className="group space-x-1 bg-gradient-to-r from-[#16222A] via-emerald-500 to-[#16222A] duration-200 ease-linear hover:bg-right"
+ className="text-white bg-gray-900 hover:bg-gray-900/80 m-1"
variant={"special"}
+ size={"icon"}
style={{
backgroundSize: "200% auto",
}}
+ title="Open AI Document Assistant"
>
- <PapermarkSparkle className="h-5 w-5 animate-pulse group-hover:animate-none" />{" "}
- <span>AI Assistant</span>
+ <PapermarkSparkle className="h-5 w-5" />
</Button>
</Link>
) : null}