Skip to content

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

fix: disk config layout gap (#33683)

Francesco Sansalvadore1cdcf8f074dc
diff --git a/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx b/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
index fdf94851a4c..1d93f5fb677 100644
--- a/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
+++ b/apps/studio/components/interfaces/DiskManagement/fields/ComputeSizeField.tsx
@@ -122,6 +122,7 @@ export function ComputeSizeField({ form, disabled }: ComputeSizeFieldProps) {
layout="horizontal"
label={'Compute size'}
id={field.name}
+ className="md:flex lg:grid gap-4 lg:gap-2"
labelOptional={
<>
<BillingChangeBadge
diff --git a/packages/ui-patterns/form/Layout/FormLayout.tsx b/packages/ui-patterns/form/Layout/FormLayout.tsx
index 08aa389b64d..48fb1e15517 100644
--- a/packages/ui-patterns/form/Layout/FormLayout.tsx
+++ b/packages/ui-patterns/form/Layout/FormLayout.tsx
@@ -42,7 +42,7 @@ const ContainerVariants = cva('relative grid gap-10', {
false: '',
},
layout: {
- horizontal: 'flex flex-col gap-2 md:gap-0 md:grid md:grid-cols-12',
+ horizontal: 'flex flex-col gap-2 md:grid md:grid-cols-12',
vertical: 'flex flex-col gap-3',
flex: 'flex flex-row gap-3',
'flex-row-reverse': 'flex flex-row gap-3 flex-row-reverse justify-between',