theme: Adjust copy-to-clipboard button

This commit is contained in:
Joe Mooring
2025-02-19 11:16:40 -08:00
committed by GitHub
parent 0718514310
commit e6b870bc9e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@
{{- end }}
<div x-data class="shortcode-code not-prose relative p-0 mt-2 mb-4 sm:mb-8">
<svg
class="absolute right-7 top-0 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-8"
class="absolute right-4 top-12 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-6 h-6"
@click="$copy($refs[$store.nav.userSettings.settings.configFileType])">
<use href="#icon--copy"></use>
</svg>
+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>