diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx index 0630947b9a7..4878a5878bd 100644 --- a/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx +++ b/apps/studio/components/interfaces/Storage/StorageSettings/S3Connection.tsx @@ -29,6 +29,7 @@ import { FormControl_Shadcn_, FormField_Shadcn_, Form_Shadcn_, + Separator, Switch, Table, TableBody, @@ -156,13 +157,13 @@ export const S3Connection = () => { ) : isProjectActive ? ( - + ( { /> - - - - - - - - - + + + + + + + + + + {!isLoadingPermissions && !canUpdateStorageSettings && ( diff --git a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx index 81b293ff703..47c8a6b1699 100644 --- a/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx +++ b/apps/studio/components/interfaces/Storage/StorageSettings/StorageSettings.tsx @@ -244,9 +244,9 @@ export const StorageSettings = () => { {isListV2Upgrading && } > )} - + - + { hideMessage layout="flex-row-reverse" label="Global file size limit" + className="[&>div]:md:w-1/2 [&>div]:xl:w-2/5 [&>div>div]:w-full [&>div]:min-w-100" description={ <> Restrict the size of files uploaded across all buckets.{' '} @@ -301,11 +302,11 @@ export const StorageSettings = () => { } > - + { onValueChange={unitField.onChange} disabled={isFreeTier || !canUpdateStorageSettings} > - + {storageUnit}