Skip to content

Commit ce2aaee

Browse files
committed
fix: line break
1 parent 3c9fc94 commit ce2aaee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/llm-share.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ export function LLMShare({ content }: LLMShareProps) {
8989
};
9090

9191
return (
92-
<div className="hidden md:inline-flex rounded-md border border-border">
92+
<div className="hidden md:inline-flex shrink-0 rounded-md border border-border">
9393
<button
9494
onClick={handleCopy}
9595
type="button"
96-
className="cursor-pointer relative inline-flex items-center gap-2 rounded-l-md rounded-r-none px-2 py-1.5 text-sm font-mono focus:z-10 border-0 shadow-none transition-all duration-150 hover:bg-neutral-150 dark:hover:bg-neutral-700"
96+
className="cursor-pointer relative inline-flex items-center gap-2 whitespace-nowrap rounded-l-md rounded-r-none px-2 py-1.5 text-sm font-mono focus:z-10 border-0 shadow-none transition-all duration-150 hover:bg-neutral-150 dark:hover:bg-neutral-700"
9797
aria-label="Copy markdown"
9898
>
9999
<span

0 commit comments

Comments
 (0)