Skip to content

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

Prevent shrinking of ProductIcon in flex container

Ryuyad52ba7e20bf4
diff --git a/apps/www/components/ProductIcon.tsx b/apps/www/components/ProductIcon.tsx
index 894c7ea5117..2d38ab75564 100644
--- a/apps/www/components/ProductIcon.tsx
+++ b/apps/www/components/ProductIcon.tsx
@@ -7,7 +7,7 @@ function ProductIcon({ icon, color }: ProductIcon) {
return (
<div
className={[
- 'inline-flex h-8 w-8 items-center justify-center rounded-md',
+ 'inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md',
!color || color === 'black' ? 'bg-scale-1200 text-scale-100' : '',
color && color === 'green' ? 'bg-brand-800 dark:bg-brand-600 text-brand-100' : '',
].join(' ')}