theme: Add some more space on the right for copy buttons

Fixes #2919
This commit is contained in:
Bjørn Erik Pedersen committed 2025-02-18 13:33:28 +01:00
1 parent f4a19083a8
commit 22ad3eee3d
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-2 top-2 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-6 h-6"
class="absolute right-7 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>