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.

merge to main

Steven Teyeec31b6083b9
diff --git a/components/stats/index.tsx b/components/stats/index.tsx
index 37a8493322..71da039340 100644
--- a/components/stats/index.tsx
+++ b/components/stats/index.tsx
@@ -37,7 +37,7 @@ export default function Stats({
);
return (
- <div className="py-20 mx-auto lg:px-0 px-2.5">
+ <div className="bg-gray-50 py-20 mx-auto lg:px-0 px-2.5">
<Toggle domain={domain} atModalTop={atModalTop} />
<div className="max-w-4xl mx-auto grid gap-5">
<Clicks data={data!} isValidating={isValidating} />
diff --git a/components/stats/toggle.tsx b/components/stats/toggle.tsx
index 5d1577812f..fafbdcb344 100644
--- a/components/stats/toggle.tsx
+++ b/components/stats/toggle.tsx
@@ -40,7 +40,7 @@ export default function Toggle({
<div
className={`z-10 mb-5 ${
pageType === "stats" ? "top-0" : "top-24"
- } sticky p-5 ${atTop ? "shadow-md" : ""}`}
+ } sticky py-5 bg-gray-50 ${atTop ? "shadow-md" : ""}`}
>
<div className="max-w-4xl mx-auto flex justify-between items-center">
<a