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 blog-layout-hero.tsx

Steven Teyc4d5d7b1ddb5
diff --git a/app/ui/content/blog-layout-hero.tsx b/app/ui/content/blog-layout-hero.tsx
index 40e8f6bd42..722ef3bcce 100644
--- a/app/ui/content/blog-layout-hero.tsx
+++ b/app/ui/content/blog-layout-hero.tsx
@@ -49,14 +49,13 @@ const CategoryLink = ({
return (
<Link
href={href}
- className={cn(
- "border-b-2 border-transparent px-3 py-2 text-sm text-gray-600 hover:bg-gray-200 active:bg-gray-300",
- {
- "border-black text-black": active,
- },
- )}
+ className={cn("border-b-2 border-transparent py-1", {
+ "border-black text-black": active,
+ })}
>
- {title}
+ <div className="rounded-md px-3 py-2 text-sm text-gray-600 hover:bg-gray-200 active:bg-gray-300">
+ {title}
+ </div>
</Link>
);
};