Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

update placeholder card

desyed148c536cef70
diff --git a/app/ui/home/placeholder-card.tsx b/app/ui/home/placeholder-card.tsx
index fe6e1142ea..97bc5a4262 100644
--- a/app/ui/home/placeholder-card.tsx
+++ b/app/ui/home/placeholder-card.tsx
@@ -8,7 +8,7 @@ export default function PlaceholderCard() {
className="flex items-center rounded-md border border-gray-200 bg-white p-3 shadow-lg"
>
<div className="mr-2 h-10 w-10 rounded-full bg-gray-200" />
- <div>
+ <div className="flex-1">
<div className="mb-2.5 flex items-center space-x-2">
<div className="h-6 w-28 rounded-md bg-gray-200" />
<div className="h-6 w-6 rounded-full bg-gray-200" />
diff --git a/components/app/links/link-card-placeholder.tsx b/components/app/links/link-card-placeholder.tsx
index 3b5466fb1b..ebd5327ddc 100644
--- a/components/app/links/link-card-placeholder.tsx
+++ b/components/app/links/link-card-placeholder.tsx
@@ -2,7 +2,7 @@ export default function LinkCardPlaceholder() {
return (
<li className="flex items-center rounded-lg border-2 border-gray-50 bg-white p-3 shadow transition-all hover:shadow-md sm:p-4">
<div className="mr-2 h-10 w-10 animate-pulse rounded-full bg-gray-200" />
- <div>
+ <div className="flex-1">
<div className="mb-3 flex items-center space-x-2">
<div className="h-5 w-28 animate-pulse rounded-md bg-gray-200" />
<div className="h-5 w-5 animate-pulse rounded-full bg-gray-200" />