fix: remove fade-in animation on greeting in preview

This commit is contained in:
Isaac
2024-06-01 16:05:08 +01:00
parent 492ae3e53c
commit 53db7a5a02
2 changed files with 5 additions and 2 deletions

View File

@@ -4,7 +4,10 @@
cursor: initial;
user-select: none;
font-weight: 600;
animation: fadeIn 1s;
&:not(.preview) {
animation: fadeIn 1s;
}
--shadow-shift: 0.2rem;
}

View File

@@ -1,7 +1,7 @@
import { memo } from 'react';
function GreetingSkeleton() {
return <span className="greeting">Good Morning</span>;
return <span className="greeting preview">Good Morning</span>;
}
export default memo(GreetingSkeleton);