The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Revert "Make page background white"
Tim Wilson0d770b0e81ee
diff --git a/apps/web/app/[domain]/layout.tsx b/apps/web/app/[domain]/layout.tsxindex ce7db1e258..0d67cb836f 100644--- a/apps/web/app/[domain]/layout.tsx+++ b/apps/web/app/[domain]/layout.tsx@@ -2,7 +2,7 @@ import { Footer, Nav, NavMobile } from "@dub/ui";export default function CustomDomainLayout(props) {return (- <div className="flex min-h-screen flex-col justify-between bg-white">+ <div className="flex min-h-screen flex-col justify-between bg-gray-50"><NavMobile /><Nav />{props.children}diff --git a/apps/web/app/app.dub.co/(dashboard)/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/layout.tsxindex ec1acbea36..688afb3f40 100644--- a/apps/web/app/app.dub.co/(dashboard)/layout.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/layout.tsx@@ -13,7 +13,7 @@ export const metadata = constructMetadata();export default function Layout({ children }: { children: ReactNode }) {return (<Providers>- <div className="min-h-screen w-full bg-white">+ <div className="min-h-screen w-full bg-gray-50"><div className="sticky -top-16 z-20 border-b border-gray-200 bg-white"><MaxWidthWrapper><MainNav />diff --git a/apps/web/ui/analytics/index.tsx b/apps/web/ui/analytics/index.tsxindex d6fb305dc0..a1f1eb6efa 100644--- a/apps/web/ui/analytics/index.tsx+++ b/apps/web/ui/analytics/index.tsx@@ -30,7 +30,7 @@ export default function Analytics({{({ basePath }) => {const isPublicStatsPage = basePath.startsWith("/stats");return (- <div className="py-10">+ <div className="bg-gray-50 py-10"><Toggle /><div className="mx-auto grid max-w-screen-xl gap-5 px-2.5 lg:px-20"><Main />diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsxindex 0e36e30043..7c741135aa 100644--- a/apps/web/ui/analytics/toggle.tsx+++ b/apps/web/ui/analytics/toggle.tsx@@ -440,7 +440,7 @@ export default function Toggle({return (<><div- className={cn("sticky top-11 z-10 bg-white py-3 md:py-3", {+ className={cn("sticky top-10 z-10 bg-gray-50 py-3 md:py-3", {"top-14": isPublicStatsPage,"top-0": adminPage,"top-16": demoPage,diff --git a/packages/ui/src/table/table.tsx b/packages/ui/src/table/table.tsxindex b0e94c52f1..974ad7dbdf 100644--- a/packages/ui/src/table/table.tsx+++ b/packages/ui/src/table/table.tsx@@ -248,7 +248,7 @@ export function Table<T>({<TableContext.Provider value={{ variant: variant ?? "default" }}><div className={tableWrapperVariants({ variant })}>{(!error && !!data?.length) || loading ? (- <div className="min-h-[400px] rounded-[inherit]">+ <div className="min-h-[400px] overflow-hidden rounded-[inherit]"><tableclassName={cn(tableVariants({ variant }), className)}style={columnSizeVars}