Skip to content

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

Increase padding for org and project dropdown in new layout (#35114)

Joshen Lim8955b94613ea
diff --git a/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx b/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
index 13c659f29ec..ac094bfc606 100644
--- a/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
+++ b/apps/studio/components/layouts/AppLayout/OrganizationDropdown.tsx
@@ -62,7 +62,7 @@ const OrganizationDropdown = () => {
{newLayoutPreview ? (
<Button
type="text"
- className={cn('px-0.25 [&_svg]:w-5 [&_svg]:h-5 ml-1')}
+ className={cn('px-1.5 py-4 [&_svg]:w-5 [&_svg]:h-5 ml-1')}
iconRight={<ChevronsUpDown strokeWidth={1.5} />}
/>
) : (
diff --git a/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx b/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx
index 36e6d45b1c6..cc6ce2d215f 100644
--- a/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx
+++ b/apps/studio/components/layouts/AppLayout/ProjectDropdown.tsx
@@ -136,7 +136,7 @@ const ProjectDropdown = ({ isNewNav = true }: ProjectDropdownProps) => {
<Button
type="text"
size="tiny"
- className={cn('px-0.25 [&_svg]:w-5 [&_svg]:h-5 ml-1')}
+ className={cn('px-1.5 py-4 [&_svg]:w-5 [&_svg]:h-5 ml-1')}
iconRight={<ChevronsUpDown strokeWidth={1.5} />}
/>
) : (