Skip to content

Commit 2ef4d67

Browse files
committed
minor formating for mobile and desktop
1 parent 30bf5da commit 2ef4d67

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/copyForLLMButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ export function CopyForLLMButton({markdownPath}: Props) {
6060
type="button"
6161
onClick={handleClick}
6262
title="Copy page content for LLM"
63-
className="mr-2 float-right flex items-center gap-1 border rounded px-2 py-1 text-xs hover:bg-[var(--gray-2)]"
64-
style={{transform: 'scale(0.85)'}}
63+
className="mr-2 float-right flex items-center gap-1 rounded px-2 py-1 text-xs hover:bg-[var(--gray-2)]"
64+
style={{height: '25px'}}
6565
data-mdast="ignore"
6666
>
6767
{copied ? <Check size={14} /> : <Clipboard size={14} />}
68-
<span className="whitespace-nowrap">Copy for LLM</span>
68+
<span className="hidden sm:inline whitespace-nowrap">Copy for LLM</span>
6969
</button>
7070
);
7171
}

0 commit comments

Comments
 (0)