Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix(www): postgres card art overlaps text column (#47734)

Pamela Chia6dfae09b6da6
diff --git a/apps/www/components/Products/DatabaseVisual.tsx b/apps/www/components/Products/DatabaseVisual.tsx
index b53a7d79d51..71c1bebdcd2 100644
--- a/apps/www/components/Products/DatabaseVisual.tsx
+++ b/apps/www/components/Products/DatabaseVisual.tsx
@@ -60,7 +60,7 @@ const DatabaseVisual: React.FC<Props> = ({ className, hasGlow = true }) => {
role="img"
aria-label="Supabase Postgres database visual composition"
>
- <span className="absolute group w-full md:w-auto h-full md:aspect-square flex items-end md:items-center justify-center md:justify-end right-0 left-0 md:left-auto xl:-right-12 2xl:right-0 top-12 md:top-0 md:bottom-0 my-auto">
+ <span className="absolute group w-full md:w-auto h-full md:aspect-square md:max-w-[calc(100%-280px)] flex items-end md:items-center justify-center md:justify-end right-0 left-0 md:left-auto top-12 md:top-0 md:bottom-0 my-auto">
<Image
src="/images/index/products/database-dark.png"
alt="Supabase Postgres database"