The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: mobile width for ref docs (#22476)
Charis46342ca1a4e8
diff --git a/apps/docs/layouts/ref/RefSubLayout.tsx b/apps/docs/layouts/ref/RefSubLayout.tsxindex 2259a96273a..a14c56139be 100644--- a/apps/docs/layouts/ref/RefSubLayout.tsx+++ b/apps/docs/layouts/ref/RefSubLayout.tsx@@ -134,12 +134,20 @@ const StickyHeader: FC<StickyHeader> = ({ icon, ...props }) => {}const Details: FC<PropsWithChildren<ISectionDetails>> = (props) => {- return <div className="relative w-full">{props.children}</div>+ /**+ * `min-w` is necessary because these are used as grid children, which have+ * default `min-w-auto`+ */+ return <div className="relative w-full min-w-full">{props.children}</div>}const Examples: FC<PropsWithChildren<ISectionExamples>> = (props) => {+ /**+ * `min-w` is necessary because these are used as grid children, which have+ * default `min-w-auto`+ */return (- <div className="w-full">+ <div className="w-full min-w-full"><div className="sticky top-24">{props.children}</div></div>)