diff --git a/src/app/globals.css b/src/app/globals.css index d2fe9c40e2c..540fca0bd2e 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -138,6 +138,11 @@ .animate-gradient-text { animation: gradient-flow 20s ease infinite; } + + /* Cursor pointer for interactive elements (#1003) */ + .cursor-pointer { + cursor: pointer; + } } @keyframes gradient-flow { diff --git a/src/components/layout/header.tsx b/src/components/layout/header.tsx index 3f3aa0ca56a..063868dba52 100644 --- a/src/components/layout/header.tsx +++ b/src/components/layout/header.tsx @@ -559,7 +559,7 @@ export function Header({ authProvider = "credentials", allowRegistration = true diff --git a/src/components/promptmasters/promptmasters-content.tsx b/src/components/promptmasters/promptmasters-content.tsx index f9faf5aacf4..0fc7a8f82e2 100644 --- a/src/components/promptmasters/promptmasters-content.tsx +++ b/src/components/promptmasters/promptmasters-content.tsx @@ -202,7 +202,7 @@ export function PromptmastersContent({ translations }: PromptmastersContentProps variant="outline" size="icon" onClick={() => setSortMode(sortMode === "total" ? "perPrompt" : "total")} - className="shrink-0" + className="shrink-0 cursor-pointer" > {sortMode === "total" ? ( diff --git a/src/components/prompts/copy-button.tsx b/src/components/prompts/copy-button.tsx index f8b84d29d9b..be8db469cf2 100644 --- a/src/components/prompts/copy-button.tsx +++ b/src/components/prompts/copy-button.tsx @@ -29,7 +29,7 @@ export function CopyButton({ content, promptId }: CopyButtonProps) { }; return ( - @@ -393,7 +393,7 @@ export function RunPromptButton({ @@ -504,7 +504,7 @@ export function RunPromptButton({ /* Desktop: Dropdown */ - diff --git a/src/components/prompts/upvote-button.tsx b/src/components/prompts/upvote-button.tsx index 4eab917e703..954a3944d0d 100644 --- a/src/components/prompts/upvote-button.tsx +++ b/src/components/prompts/upvote-button.tsx @@ -115,7 +115,7 @@ export function UpvoteButton({ onClick={handleVote} disabled={isLoading} className={cn( - "flex flex-col items-center justify-center w-14 h-14 rounded-full border-2 transition-all", + "flex flex-col items-center justify-center w-14 h-14 rounded-full border-2 transition-all cursor-pointer", isVoted ? "bg-primary text-primary-foreground border-primary" : "bg-background text-muted-foreground border-border hover:border-primary hover:text-primary" @@ -142,7 +142,7 @@ export function UpvoteButton({ onClick={handleVote} disabled={isLoading} className={cn( - "flex items-center gap-0.5 text-xs transition-colors", + "flex items-center gap-0.5 text-xs transition-colors cursor-pointer", isVoted ? "text-primary" : "text-muted-foreground hover:text-foreground" )} > @@ -165,7 +165,7 @@ export function UpvoteButton({ size="sm" onClick={handleVote} disabled={isLoading} - className="gap-1.5" + className="gap-1.5 cursor-pointer" > {isLoading ? ( diff --git a/src/components/ui/tabs.tsx b/src/components/ui/tabs.tsx index 8bf2b6a7d56..ff208bdbf38 100644 --- a/src/components/ui/tabs.tsx +++ b/src/components/ui/tabs.tsx @@ -42,7 +42,7 @@ function TabsTrigger({