Skip to content

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

chore: styling adjustments

Francesco Sansalvadore9a4fb2ea66ca
diff --git a/apps/docs/components/HomePageCover.tsx b/apps/docs/components/HomePageCover.tsx
index e6ef7bd1a72..2a7f01f0ad9 100644
--- a/apps/docs/components/HomePageCover.tsx
+++ b/apps/docs/components/HomePageCover.tsx
@@ -17,8 +17,8 @@ const HomePageCover = (props) => {
p-5 md:p-8
"
>
- <div className="col-span-full flex flex-col md:flex-row 2xl:flex-col justify-between gap-1 md:gap-6">
- <div className="md:max-w-xs 2xl:max-w-none">
+ <div className="col-span-full flex flex-col md:flex-row xl:flex-col justify-between gap-1 md:gap-6">
+ <div className="md:max-w-xs xl:max-w-none">
<div className="flex items-center gap-3 mb-3">
<IconBackground>
<IconPlay className="text-brand-900 w-4" />
@@ -106,8 +106,8 @@ const HomePageCover = (props) => {
)
return (
- <div className="w-full bg-scale-100 border-b prose dark:prose-dar max-w-none mb-16 md:mb-12 2xl:mb-0">
- <div className="max-w-7xl px-5 mx-auto py-8 sm:py-16 flex flex-col 2xl:flex-row justify-between gap-12">
+ <div className="w-full bg-scale-100 border-b prose dark:prose-dar max-w-none mb-16 md:mb-12 xl:mb-0">
+ <div className="max-w-7xl px-5 mx-auto py-8 sm:pb-16 xl:pt-16 flex flex-col xl:flex-row justify-between gap-12 sm:gap-4 xl:gap-12">
<div className="flex flex-col sm:flex-row gap-2 sm:gap-8 items-start sm:items-center w-full max-w-xl">
<Image
src="/docs/img/icons/supabase-docs2.svg"
@@ -115,14 +115,14 @@ const HomePageCover = (props) => {
height={isXs ? '80' : '300'}
/>
<div className="flex flex-col">
- <h1 className="m-0 mb-3 text-3xl sm:text-4xl">{props.meta?.title}</h1>
- <p className="m-0 text-scale-1100 text-lg">
+ <h1 className="m-0 mb-3 text-2xl sm:text-3xl">{props.meta?.title}</h1>
+ <p className="m-0 text-scale-1100">
Learn how to get up and running with Supabase through tutorials, APIs and platform
resources.
</p>
</div>
</div>
- <div className="w-full 2xl:max-w-sm -mb-40">
+ <div className="w-full xl:max-w-[365px] -mb-40">
<GettingStarted />
</div>
</div>
diff --git a/apps/docs/pages/index.mdx b/apps/docs/pages/index.mdx
index 5716835f083..2f8342c3d59 100644
--- a/apps/docs/pages/index.mdx
+++ b/apps/docs/pages/index.mdx
@@ -18,7 +18,7 @@ export const meta = {
subtitle: 'Supabase Developer Documentation and API Reference',
}
-<div className="flex flex-col mb-12">
+<div className="flex flex-col">
<div>
<div className="max-w-xl">
@@ -89,7 +89,7 @@ export const meta = {
<div className="col-span-4 flex flex-col gap-1 [&_h2]:m-0 [&_h3]:m-0">
<div className="md:max-w-xs 2xl:max-w-none">
- <div className="flex items-center gap-3 mb-3">
+ <div className="flex items-center gap-3 mb-3 text-brand-1100 dark:text-brand-900">
<IconBackground>
<HomeMenuIconPicker icon="self-hosting" width={18} height={18} />
</IconBackground>
@@ -134,7 +134,7 @@ export const meta = {
<div className="col-span-4 flex flex-col gap-1 [&_h2]:m-0 [&_h3]:m-0">
<div className="md:max-w-xs 2xl:max-w-none">
- <div className="flex items-center gap-3 mb-3">
+ <div className="flex items-center gap-3 mb-3 text-brand-1100 dark:text-brand-900">
<IconBackground>
<HomeMenuIconPicker icon="reference-cli" width={18} height={18} />
</IconBackground>
diff --git a/apps/docs/public/img/icons/menu/database.svg b/apps/docs/public/img/icons/menu/database.svg
index 8b8205599c2..80d0254d7e8 100644
--- a/apps/docs/public/img/icons/menu/database.svg
+++ b/apps/docs/public/img/icons/menu/database.svg
@@ -1,5 +1,5 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
-<path d="M2.99982 10.0368H12.9998V14.0368H2.99982V10.0368Z" fill="#133929" stroke="#4CC38A" stroke-width="0.636673" stroke-miterlimit="10" stroke-linejoin="bevel"/>
-<rect x="3.50189" y="5.9998" width="8.99609" height="4" stroke="#4CC38A" stroke-width="0.636673" stroke-miterlimit="10" stroke-linejoin="bevel"/>
-<path d="M2.99982 2.00008H12.9998V6.00008H2.99982V2.00008Z" fill="#133929" stroke="#4CC38A" stroke-width="0.636673" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M2.99982 10.0368H12.9998V14.0368H2.99982V10.0368Z" fill="#133929" stroke="#4CC38A" stroke-width="1" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<rect x="3.50189" y="5.9998" width="8.99609" height="4" stroke="#4CC38A" stroke-width="1" stroke-miterlimit="10" stroke-linejoin="bevel"/>
+<path d="M2.99982 2.00008H12.9998V6.00008H2.99982V2.00008Z" fill="#133929" stroke="#4CC38A" stroke-width="1" stroke-miterlimit="10" stroke-linejoin="bevel"/>
</svg>
diff --git a/packages/ui/src/components/IconPanel/IconPanel.tsx b/packages/ui/src/components/IconPanel/IconPanel.tsx
index 2f7ef8abd4a..64c68d8eea8 100644
--- a/packages/ui/src/components/IconPanel/IconPanel.tsx
+++ b/packages/ui/src/components/IconPanel/IconPanel.tsx
@@ -102,7 +102,7 @@ const IconPanel = ({
bg-scale-200 dark:bg-whiteA-300 opacity-0 peer-hover:opacity-100"
></div>
</div>
- {tooltip && <ReactTooltip effect={'solid'} place="top" className="!py-2 !px-4" />}
+ {tooltip && <ReactTooltip effect={'solid'} className="!py-2 !px-4" />}
</>
)
}