Skip to content

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

Fix admin access shifting positions when changing tabs

Joshen Lim615ea571657c
diff --git a/www/components/AdminAccess/index.tsx b/www/components/AdminAccess/index.tsx
index 8ac6dc98ed8..6956ee2748f 100644
--- a/www/components/AdminAccess/index.tsx
+++ b/www/components/AdminAccess/index.tsx
@@ -16,12 +16,12 @@ const AdminAccess = () => {
title_alt={' without leaving the dashboard'}
subtitle={'Admin Access'}
/>
- <div className="flex flex-col-reverse lg:flex-row lg:grid lg:grid-cols-2 gap-28 items-center">
+ <div className="flex flex-col-reverse lg:flex-row lg:grid lg:grid-cols-2 gap-28">
<Tabs
tabId={tabId}
setTabId={setTabId}
/>
- <div className="shadow-lg">
+ <div className="shadow-lg rounded-md" style={{ height: 'fit-content'}}>
<div className="w-full rounded-t-md h-5 bg-dark-400 flex items-center justify-start px-2">
<div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>
<div className="h-2 w-2 mr-2 rounded-full bg-dark-500"/>
diff --git a/www/components/AdminAccess/tabs.tsx b/www/components/AdminAccess/tabs.tsx
index b4c2ed40933..3b365c3ac4b 100644
--- a/www/components/AdminAccess/tabs.tsx
+++ b/www/components/AdminAccess/tabs.tsx
@@ -17,7 +17,7 @@ function Tabs(props: Props) {
}
return (
- <div className="flex justify-between items-center w-full sm:relative -mt-20 lg:mt-0">
+ <div className="flex justify-between w-full sm:relative -mt-20 lg:mt-0">
<div>
<div className="">
<nav className="-mb-px flex" aria-label="Tabs">