Skip to content

Commit d711096

Browse files
committed
Auto-commit pending changes before rebase - PR synchronize
1 parent 1d71385 commit d711096

File tree

2 files changed

+13
-11
lines changed

2 files changed

+13
-11
lines changed

src/components/copyForLLMButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export default function CopyForLLMButton() {
5050
onClick={handleCopy}
5151
title={copied ? 'Copied!' : 'Copy for LLM'}
5252
aria-label="Copy for LLM"
53-
className="float-right mr-[5px] flex items-center justify-center space-x-1 text-[var(--gray-12)] hover:text-[var(--accent)] focus:outline-none"
53+
className="flex items-center justify-center space-x-1 text-[var(--gray-12)] hover:text-[var(--accent)] focus:outline-none"
5454
data-mdast="ignore"
5555
>
5656
{copied ? (

src/components/docPage/index.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -86,16 +86,18 @@ export function DocPage({
8686
</div>
8787
<div className="overflow-hidden">
8888
{leafNode && <Breadcrumbs leafNode={leafNode} />}{' '}
89-
<Link
90-
rel="nofollow"
91-
className="float-right"
92-
href={`/${pathname}.md`}
93-
data-mdast="ignore"
94-
title="Markdown version of this page"
95-
>
96-
<Markdown className="flex p-0 flex-wrap" width={24} height={24} />
97-
</Link>
98-
<CopyForLLMButton />
89+
<div className="flex items-center justify-end space-x-[5px]">
90+
<CopyForLLMButton />
91+
<Link
92+
rel="nofollow"
93+
className="flex"
94+
href={`/${pathname}.md`}
95+
data-mdast="ignore"
96+
title="Markdown version of this page"
97+
>
98+
<Markdown className="flex p-0 flex-wrap" width={24} height={24} />
99+
</Link>
100+
</div>
99101
</div>
100102
<div>
101103
<hgroup>

0 commit comments

Comments
 (0)