theme: Adjust copy-to-clipboard button

This commit is contained in:
Joe Mooring authored and GitHub committed 2025-02-19 11:16:40 -08:00
1 parent 0718514310
commit e6b870bc9e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
class="shortcode-code font-mono not-prose relative mt-6 mb-8 border-1 border-gray-200 dark:border-gray-800 bg-light dark:bg-dark">
{{ if (.Get "copy") }}
<svg
class="absolute right-7 top-2 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-6 h-6"
class="absolute right-4 top-2 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-6 h-6"
@click="$copy($refs.code)">
<use href="#icon--copy"></use>
</svg>