Skip to content

Commit 43e36a1

Browse files
added delay
1 parent 68f7690 commit 43e36a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/Project.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
>
1717
<div
18-
class="relative overflow-hidden text-ellipses h-full w-1/3 text-left pl-[4%] py-[4%] flex flex-col cursor-pointer group-hover:pl-[8%] transition-all duration-[400ms]"
18+
class="relative overflow-hidden text-ellipses h-full w-1/3 text-left pl-[4%] py-[4%] flex flex-col cursor-pointer group-hover:pl-[8%] transition-all delay-75 duration-[400ms]"
1919
on:click={() =>
2020
(window.location.pathname = `/projects/${project.name?.trim().replaceAll(' ', '-')}`)}
2121
>

src/lib/ProjectPreview.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<div class="text-md pl-[4%] font-thin">{project.date}</div>
6767
</div>
6868
<div
69-
class="relative overflow-auto h-full w-1/2 text-right ml-[33%] py-[4%] pr-[4%] flex flex-col group-hover:pr-[8%] transition-all duration-[400ms]"
69+
class="relative overflow-auto h-full w-1/2 text-right ml-[33%] py-[4%] pr-[4%] flex flex-col group-hover:pr-[8%] delay-75 transition-all duration-[400ms]"
7070
>
7171
<div class="text-2xl font-bold">{project.category}</div>
7272
<div class="flex flex-row-reverse">

0 commit comments

Comments
 (0)