mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-08-18 06:26:22 +00:00
@@ -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-2 top-0 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-8"
|
||||
class="absolute right-7 top-0 z-30 text-blue-600 hover:text-blue-500 cursor-pointer w-8"
|
||||
@click="$copy($refs[$store.nav.userSettings.settings.configFileType])">
|
||||
<use href="#icon--copy"></use>
|
||||
</svg>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user