Skip to content

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

fix(reference): mis-aligned ButtonCard content

Alexandru Turcanu01ef55ca7da4
diff --git a/apps/reference/docs/about.mdx b/apps/reference/docs/about.mdx
index aa1142a407c..07e696f4a9e 100755
--- a/apps/reference/docs/about.mdx
+++ b/apps/reference/docs/about.mdx
@@ -150,7 +150,7 @@ Supabase is just Postgres, which makes it compatible with a large number of tool
<div>
<div class="row is-multiline">
{frameworks.map((x) => (
- <div key={x.name} class="col col--3">
+ <div key={x.name} class="col col--3">
<ButtonCard
layout="horizontal"
icon={
@@ -158,11 +158,11 @@ Supabase is just Postgres, which makes it compatible with a large number of tool
<x.logo
width="20"
alt={x.name}
- style={{ display: 'block', maxHeight: 20 }}
+ style={{ display: 'block', maxHeight: 20, minWidth: 20 }}
/>
) : (
<ThemedImage
- style={{ display: 'block', maxHeight: 20 }}
+ style={{ display: 'block', maxHeight: 20, minWidth: 20, margin: 0 }}
alt={x.name}
width="20"
sources={{
diff --git a/apps/reference/src/components/ButtonCard.js b/apps/reference/src/components/ButtonCard.js
index ce4f8993441..eda36c50731 100644
--- a/apps/reference/src/components/ButtonCard.js
+++ b/apps/reference/src/components/ButtonCard.js
@@ -3,7 +3,6 @@ import Link from '@docusaurus/Link'
export default function ButtonCard({
children,
- color,
icon,
title,
description,
diff --git a/apps/reference/src/css/components/_button-card.scss b/apps/reference/src/css/components/_button-card.scss
index 804904109e9..9e45ebcc3d3 100644
--- a/apps/reference/src/css/components/_button-card.scss
+++ b/apps/reference/src/css/components/_button-card.scss
@@ -20,6 +20,10 @@
flex-direction: row;
gap: var(--ifm-spacing-horizontal);
align-items: center;
+
+ h3 {
+ margin-bottom: 0;
+ }
}
.button-card__inner {