refactor: adjust skeleton

This commit is contained in:
codytseng
2025-02-25 15:22:43 +08:00
parent 17cf67228f
commit 68fffa0af2
2 changed files with 2 additions and 3 deletions

View File

@@ -35,8 +35,8 @@ function EmbeddedNoteSkeleton({ className }: { className?: string }) {
onClick={(e) => e.stopPropagation()}
>
<div className="flex items-center space-x-2">
<Skeleton className="w-16 h-7 rounded-full" />
<Skeleton className="h-3 w-12 my-1" />
<Skeleton className="w-7 h-7 rounded-full" />
<Skeleton className="h-3 w-16 my-1" />
</div>
<Skeleton className="w-full h-4 my-1 mt-2" />
<Skeleton className="w-2/3 h-4 my-1" />

View File

@@ -169,7 +169,6 @@ const NotificationList = forwardRef((_, ref) => {
<div ref={bottomRef}>
<div className="flex gap-2 items-center h-11 py-2">
<Skeleton className="w-7 h-7 rounded-full" />
<Skeleton className="w-6 h-6 rounded-full" />
<Skeleton className="h-6 flex-1 w-0" />
</div>
</div>