Skip to content

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

Small fix to badges in feature

Joshen Lim23940431b46e
diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsx
index d3a3fc111a9..5107663be08 100644
--- a/www/components/Features/index.tsx
+++ b/www/components/Features/index.tsx
@@ -20,8 +20,9 @@ const Features = () => {
<path strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" d={icon} />
</svg>
</div>
- <dt className="ml-4 text-lg leading-6 font-medium text-gray-900 dark:text-white">
- {name} {label && <Badge>{label}</Badge>}
+ <dt className="flex flex-row xl:flex-col ml-4 text-lg leading-6 font-medium text-gray-900 dark:text-white">
+ {name}
+ {label && <Badge>{label}</Badge>}
</dt>
</div>
<div className="mt-5">
diff --git a/www/components/badge.tsx b/www/components/badge.tsx
index ad0004767fc..7b0922304bf 100644
--- a/www/components/badge.tsx
+++ b/www/components/badge.tsx
@@ -1,6 +1,6 @@
const Badge = (props: any) => {
return (
- <span className="ml-3 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800">
+ <span className="ml-3 xl:ml-0 xl:mt-1 inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-indigo-100 text-indigo-800">
<svg className="-ml-0.5 mr-1.5 h-2 w-2 text-indigo-400" fill="currentColor" viewBox="0 0 8 8">
<circle cx="4" cy="4" r="3" />
</svg>