Skip to content

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

fix card height

Jonathan Summers-Muir642beac67906
diff --git a/apps/docs/pages/new/index.mdx b/apps/docs/pages/new/index.mdx
index 555152bcc45..eef847ac76f 100644
--- a/apps/docs/pages/new/index.mdx
+++ b/apps/docs/pages/new/index.mdx
@@ -126,9 +126,6 @@ Explore our Airwallex products in detail, designed to give you control in how an
})}
-</div>
-
- <div className="grid grid-cols-12 gap-6 not-prose my-16">
{platform.map((product) => {
return (
<Link
@@ -152,33 +149,33 @@ Explore our Airwallex products in detail, designed to give you control in how an
<div>
-<div className="max-w-xl">
+ <div className="max-w-xl">
-### Supabase APIs
+ ### Supabase APIs
-Explore our Airwallex products in detail, designed to give you control in how and when you convert currencies, make payments and manage your accounts.
+ Explore our Airwallex products in detail, designed to give you control in how and when you convert currencies, make payments and manage your accounts.
-</div>
+ </div>
-<div className="grid grid-cols-12 gap-6 not-prose">
- {apis.map((product) => {
- return (
- <Link
- href={`/${product.href}`}
- key={product.title}
- passHref
- >
- <a className={product.span ?? 'col-span-12 lg:col-span-4'}>
- <GlassPanel {...product} background={false}>
- {product.description}
- </GlassPanel>
- </a>
- </Link>
- )
+ <div className="grid grid-cols-12 gap-6 not-prose">
+ {apis.map((product) => {
+ return (
+ <Link
+ href={`/${product.href}`}
+ key={product.title}
+ passHref
+ >
+ <a className={product.span ?? 'col-span-12 lg:col-span-4'}>
+ <GlassPanel {...product} background={false}>
+ {product.description}
+ </GlassPanel>
+ </a>
+ </Link>
+ )
})}
-</div>
+ </div>
</div>
{/* end of container */}
diff --git a/packages/ui/src/components/GlassPanel/GlassPanel.tsx b/packages/ui/src/components/GlassPanel/GlassPanel.tsx
index cc9e341d240..2003ee66d83 100644
--- a/packages/ui/src/components/GlassPanel/GlassPanel.tsx
+++ b/packages/ui/src/components/GlassPanel/GlassPanel.tsx
@@ -40,6 +40,7 @@ const GlassPanel = ({
<div
className={[
'relative',
+ 'h-full',
'group',
'cursor-pointer',
'overflow-hidden',
@@ -69,7 +70,7 @@ const GlassPanel = ({
<div
className={[
'px-8 pb-8 relative',
- 'flex flex-col',
+ 'flex flex-col h-full',
icon ? 'gap-6' : 'gap-2',
!header ? 'pt-8' : '',
].join(' ')}
@@ -88,7 +89,7 @@ const GlassPanel = ({
<h5 className="text-base text-scale-1200">{title}</h5>
</div>
- {children && <span className="text-sm text-scale-1100">{children}</span>}
+ {children && <span className="text-sm text-scale-1100 flex-grow">{children}</span>}
{showLink && <span className="text-brand-900 justify-end text-sm">Learn more</span>}
</div>
</div>