Skip to content

Commit 6460cce

Browse files
committed
fix: copy link short cut tutorial cookie was not injested
1 parent 647ab0d commit 6460cce

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

components/buttons/prevDiff.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="prevDiffSection" class="inline-flex items-center gap-1">
33
<button
44
id="prevDiff"
5-
class="inline-flex items-center justify-center px-1 py-1 text-sm text-gray-600 transition-transform transform bg-gray-300 border border-gray-800 rounded-sm outline-none dark:border-gray-400 dark:text-white dark:bg-gray-800 align-center focus:ring-4 active:scale-y-75 hover:scale-105 hover:shadow-lg"
5+
class="inline-flex items-center justify-center px-1 py-1 text-sm text-gray-600 transition-transform transform bg-gray-300 border border-gray-800 rounded-sm outline-none dark:border-gray-400 dark:text-white dark:bg-gray-800 align-center focus:ring-4 active:scale-y-75 hover:scale-105 hover:shadow-lg"
66
aria-label="Go to previous diff"
77
type="button"
88
@click="clickHandler"

components/buttons/stickyCopy.vue

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
11
<template>
22
<div class="sticky top-0 text-right z-1">
33
<button
4-
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"
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+
"
518
:class="{
619
'bg-gray-100 dark:bg-gray-600': !copied,
720
'bg-green-500': copied,

0 commit comments

Comments
 (0)