The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix(docs): fix step code block spacing and Prisma guide tabs (#49263)
Ali Waseeme5f12b425254
diff --git a/apps/docs/components/StepHikeCompact/index.tsx b/apps/docs/components/StepHikeCompact/index.tsxindex 7d86f47884a..33e15d219cb 100644--- a/apps/docs/components/StepHikeCompact/index.tsx+++ b/apps/docs/components/StepHikeCompact/index.tsx@@ -108,10 +108,18 @@ const Details: FC<PropsWithChildren<IDetails>> = ({ children, title, fullWidth =}const Code: FC<PropsWithChildren<ICode>> = ({ children }) => {+ // Not `not-prose`: steps interleave labels and admonitions with their code samples, and+ // stripping prose leaves that text unstyled and flush against the samples.return (<divdata-step-hike="code"- className="not-prose min-w-0 w-full [&_.shiki]:!my-0 [&_.shiki-wrapper]:!my-0"+ className={cn(+ 'min-w-0 w-full',+ // `Step` spaces the block as a whole, so samples don't carry margins of their own...+ '[&_.shiki]:!my-0 [&_.shiki-wrapper]:!my-0',+ // ...but back-to-back samples have no prose between them to separate them.+ '[&_.shiki+.shiki]:!mt-6'+ )}>{children}</div>diff --git a/apps/docs/content/guides/database/prisma.mdx b/apps/docs/content/guides/database/prisma.mdxindex 059f603190c..8f913682789 100644--- a/apps/docs/content/guides/database/prisma.mdx+++ b/apps/docs/content/guides/database/prisma.mdx@@ -141,7 +141,7 @@ If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), t</StepHikeCompact.Details><StepHikeCompact.Code>- <Tabs>+ <Tabs type="underlined" size="small"><TabPanel id="serverful" label="server-based deployments">In your .env file, set the DATABASE_URL variable to your connection string```text .env@@ -192,7 +192,7 @@ If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), t</StepHikeCompact.Details><StepHikeCompact.Code>- <Tabs>+ <Tabs type="underlined" size="small"><TabPanel id="serverful" label="server-based deployments">```ts prisma.config.tsimport "dotenv/config";@@ -240,7 +240,7 @@ If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), t<StepHikeCompact.Code>- <Tabs>+ <Tabs type="underlined" size="small"><TabPanel id="new-projects" label="New Projects">Create new tables in your prisma.schema file