Skip to content

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

Fix mobile resp

Joshen Limff53fc774d04
diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx
index 99fe3a3cd43..e7cb4afac96 100644
--- a/www/components/AdminAccess/index.tsx
+++ b/www/components/AdminAccess/index.tsx
@@ -7,7 +7,7 @@ const AdminAccess = () => {
return (
<div className="py-16 bg-gray-50 dark:bg-dark-300 overflow-hidden lg:py-24">
- <div className="container mx-auto px-10 sm:px-16 xl:px-20">
+ <div className="container mx-auto px-8 sm:px-16 xl:px-20">
<div className="mx-auto max-w-7xl">
<div className="relative items-center">
<div className="relative">
diff --git a/www/components/AdminAccess/tabs.tsx b/www/components/AdminAccess/tabs.tsx
index 1af5d4d31cb..83d8bc15e51 100644
--- a/www/components/AdminAccess/tabs.tsx
+++ b/www/components/AdminAccess/tabs.tsx
@@ -24,7 +24,7 @@ function Tabs(props: Props) {
<a
href="#"
id="tabTableEditor"
- className={"transition sm:w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabTableEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
>
Table Editor
@@ -32,7 +32,7 @@ function Tabs(props: Props) {
<a
href="#"
id="tabSqlEditor"
- className={"transition sm:w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabSqlEditor" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
>
SQL Editor
@@ -40,7 +40,7 @@ function Tabs(props: Props) {
<a
href="#"
id="tabAuthRules"
- className={"transition sm:w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
+ className={"transition w-1/3 lg:w-1/4 py-4 px-1 text-center border-b-2 font-medium text-sm" + (tabId === "tabAuthRules" ? " border-gray-500 dark:border-white text-gray-600 dark:text-white" : " border-b border-gray-200 dark:border-dark-200 text-gray-500 dark:text-gray-400 hover:text-gray-700 hover:border-gray-300 dark:hover:text-gray-200")}
onClick={(event: any) => handleTabChange(event)}
aria-current="page"
>
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx
index 4674c04a0f4..5f0387d51c3 100644
--- a/www/components/BuiltWithSupabase/index.tsx
+++ b/www/components/BuiltWithSupabase/index.tsx
@@ -8,7 +8,7 @@ const BuiltExamples = () => {
<div className="absolute inset-0">
<div className="mx-auto bg-white dark:bg-dark-400 h-1/3 sm:h-2/3 lg:h-1/2 md:w-5/6 lg:w-3/4 xl:w-full"></div>
</div>
- <div className="container mx-auto px-10 sm:px-16 xl:px-20 relative">
+ <div className="container mx-auto px-8 sm:px-16 xl:px-20 relative">
<div className="mx-auto max-w-7xl">
<SectionHeader
title={'What you can build'}
diff --git a/www/components/CaseStudies/index.tsx b/www/components/CaseStudies/index.tsx
index 9390dea7a75..bb68f8c3513 100644
--- a/www/components/CaseStudies/index.tsx
+++ b/www/components/CaseStudies/index.tsx
@@ -9,7 +9,7 @@ const CaseStudies = () => {
<div className="absolute inset-0">
<div className="mx-auto bg-white dark:bg-dark-300 h-1/3 sm:h-2/3 xl:w-full"></div>
</div>
- <div className="container relative mx-auto px-10 sm:px-16 xl:px-20">
+ <div className="container relative mx-auto px-8 sm:px-16 xl:px-20">
<div className="relative max-w-7xl mx-auto">
<div>
<SectionHeader
diff --git a/www/components/Features/index.tsx b/www/components/Features/index.tsx
index b38dda3dde5..8657258d22c 100644
--- a/www/components/Features/index.tsx
+++ b/www/components/Features/index.tsx
@@ -37,7 +37,7 @@ const Features = () => {
return (
<div className="bg-gray-50 dark:bg-dark-400 overflow-hidden py-12">
- <div className="container mx-auto px-10 sm:px-16 xl:px-20">
+ <div className="container mx-auto px-8 sm:px-16 xl:px-20">
<div className="mx-auto max-w-7xl">
<SectionHeader
title={'Build Faster'}
diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx
index dd8b47e6cdb..2f1c8a7e18c 100644
--- a/www/components/MadeForDevelopers/index.tsx
+++ b/www/components/MadeForDevelopers/index.tsx
@@ -5,19 +5,19 @@ import CodeExamples from 'components/MadeForDevelopers/CodeExamples'
const MadeForDevelopers = () => {
return (
<div className="py-16 bg-gray-50 dark:bg-dark-400 overflow-hidden lg:py-16">
- <div className="container mx-auto px-10 sm:px-16 xl:px-20">
+ <div className="container mx-auto px-8 sm:px-16 xl:px-20">
<SectionHeader className="text-center mx-auto" title={'Supafast easy-to-use APIs'} title_alt={' that do the hard work for you'} subtitle={'MADE FOR DEVELOPERS'} paragraph={'We inspect your database and provide APIs instantly so you can stop building repetitive CRUD endpoints and focus on your product.'} />
- <div className="relative grid grid-cols-12 gap-8 lg:items-center">
+ <div className="relative grid grid-cols-12 gap-1 sm:gap-8 lg:items-center">
- <div className="mt-2 col-span-10 col-start-2">
+ <div className="mt-2 col-span-12 sm:col-span-10 sm:col-start-2">
<CodeExamples />
<div className="grid grid-cols-12 gap-2">
- <dl className="mt-12 grid-cols-12 grid lg:space-y-0 gap-12 col-start-1 col-span-12 md:col-span-12 md:col-start-1 lg:col-start-3 lg:col-span-8">
- <div className="col-span-12 lg:col-span-6 lg:border-r-2 lg:border-gray-200 pr-6 dark:border-dark-200">
+ <dl className="mt-12 grid-cols-12 grid col-start-1 col-span-12 sm:gap-4 md:col-span-12 lg:gap-8 lg:space-y-0 lg:col-start-2 lg:col-span-10 xl:col-start-3 xl:col-span-8">
+ <div className="col-span-12 mb-6 sm:mb-0 sm:col-span-6 sm:border-r-2 sm:border-gray-200 sm:pr-4 md:pr-6 dark:border-dark-200">
<div className="lg:mt-5">
<dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white">
TypeScript support
@@ -33,7 +33,7 @@ const MadeForDevelopers = () => {
</button>
</div>
</div>
- <div className="col-span-12 lg:col-span-6">
+ <div className="col-span-12 sm:col-span-6">
<div className="lg:mt-5">
<dt className="text-lg leading-6 font-medium text-gray-900 dark:text-white flex">
Local emulator
diff --git a/www/components/hero.tsx b/www/components/hero.tsx
index d5d70c71453..3c1bd2130c6 100644
--- a/www/components/hero.tsx
+++ b/www/components/hero.tsx
@@ -4,7 +4,7 @@ import Button from 'components/button'
const Hero = () => {
return (
<div className="relative bg-dark-500 overflow-hidden">
- <div className="container mx-auto px-10 sm:px-16 xl:px-20">
+ <div className="container mx-auto px-8 sm:px-16 xl:px-20">
<div className="mx-auto max-w-7xl">
<div className="hidden sm:block sm:absolute sm:inset-0" aria-hidden="true">
<svg