Merge a74553c7ca into 07eea0f484
				
					
				
			This commit is contained in:
		
						commit
						3b7461ddcf
					
				| @ -52,8 +52,13 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage. | ||||
|           <n-code :code="value" :language="language" :trim="false" data-test-id="area-content" /> | ||||
|         </n-config-provider> | ||||
|       </n-scrollbar> | ||||
|       <div absolute right-10px top-10px> | ||||
|         <c-tooltip v-if="value" :tooltip="tooltipText" position="left"> | ||||
|       <div | ||||
|         v-if="value && copyPlacement !== 'none'" | ||||
|         absolute right-10px | ||||
|         :top-10px="copyPlacement === 'top-right' ? '' : 'no'" | ||||
|         :bottom-10px="copyPlacement === 'bottom-right' ? '' : 'no'" | ||||
|       > | ||||
|         <c-tooltip v-if="value && copyPlacement !== 'outside'" :tooltip="tooltipText" position="left"> | ||||
|           <c-button circle important:h-10 important:w-10 @click="copy()"> | ||||
|             <n-icon size="22" :component="Copy" /> | ||||
|           </c-button> | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user