Skip to content

Commit

Permalink
chore(docs): make copy button on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Jun 28, 2024
1 parent c28b8b6 commit 4e246ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default defineConfig({
theme: moonlightTheme,
transformers: [
transformerCopyButton({
visibility: 'always',
visibility: 'hover',
feedbackDuration: 2_500,
}),
],
Expand Down

0 comments on commit 4e246ed

Please sign in to comment.