We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6460cce commit b689742Copy full SHA for b689742
1 file changed
components/buttons/stickyCopy.vue
@@ -1,20 +1,7 @@
1
<template>
2
<div class="sticky top-0 text-right z-1">
3
<button
4
- class="
5
- absolute
6
- top-0
7
- right-0
8
- p-2
9
- text-gray-800
10
- transition-all
11
- transform
12
- rounded-full
13
- shadow
14
- dark:text-gray-50
15
- z-1
16
- hover:shadow-lg hover:scale-110 hover:rotate-12
17
- "
+ class="absolute top-0 right-0 p-2 text-gray-800 transition-all transform rounded-full shadow dark:text-gray-50 z-1 hover:shadow-lg hover:scale-110 hover:rotate-12"
18
:class="{
19
'bg-gray-100 dark:bg-gray-600': !copied,
20
'bg-green-500': copied,
0 commit comments