Skip to content

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

Styling issues

Joshen Limbe0b8c3269dc
diff --git a/studio/components/interfaces/Auth/AutoSchemaForm.tsx b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
index f64f4ddf82d..42d931c61a9 100644
--- a/studio/components/interfaces/Auth/AutoSchemaForm.tsx
+++ b/studio/components/interfaces/Auth/AutoSchemaForm.tsx
@@ -93,7 +93,7 @@ const AutoSchemaForm = observer(() => {
<FormPanel
disabled={true}
footer={
- <div className="flex justify-between py-4 px-8">
+ <div className="flex py-4 px-8">
<FormActions
form={formId}
isSubmitting={isSubmitting}
diff --git a/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx b/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
index 90931aee2cc..473612d523f 100644
--- a/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
+++ b/studio/components/interfaces/Auth/EmailTemplates/TemplateEditor.tsx
@@ -150,7 +150,7 @@ const TemplateEditor: FC<Props> = ({ template }) => {
</div>
</>
)}
- <div className="col-span-12 flex w-full justify-between">
+ <div className="col-span-12 flex w-full">
<FormActions
handleReset={() => {
resetForm({
diff --git a/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx b/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx
index e77eea41c47..888e2c4d161 100644
--- a/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx
+++ b/studio/components/interfaces/Auth/SmtpForm/SmtpForm.tsx
@@ -145,7 +145,7 @@ const SmtpForm = () => {
/>
<FormPanel
footer={
- <div className="flex justify-between py-4 px-8">
+ <div className="flex py-4 px-8">
<FormActions
form={formId}
isSubmitting={isSubmitting}
diff --git a/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx b/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
index 424235909af..e3e0390e19e 100644
--- a/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
+++ b/studio/components/interfaces/Organization/GeneralSettings/GeneralSettings.tsx
@@ -88,21 +88,17 @@ const GeneralSettings = observer(() => {
return (
<FormPanel
footer={
- <div
- className={`flex py-4 px-8 ${
- canUpdateOrganization ? 'justify-end' : 'justify-between'
- }`}
- >
- {!canUpdateOrganization && (
- <p className="text-sm text-scale-1000">
- You need additional permissions to manage this organization's settings
- </p>
- )}
+ <div className="flex py-4 px-8">
<FormActions
form={formId}
isSubmitting={isSubmitting}
hasChanges={hasChanges}
handleReset={handleReset}
+ helper={
+ !canUpdateOrganization
+ ? "You need additional permissions to manage this organization's settings"
+ : undefined
+ }
/>
</div>
}
diff --git a/studio/components/interfaces/Settings/General/General.tsx b/studio/components/interfaces/Settings/General/General.tsx
index b14935f30b2..b0ac84bfebd 100644
--- a/studio/components/interfaces/Settings/General/General.tsx
+++ b/studio/components/interfaces/Settings/General/General.tsx
@@ -59,21 +59,17 @@ const General: FC<Props> = ({}) => {
<FormPanel
disabled={!canUpdateProject}
footer={
- <div
- className={`flex py-4 px-8 ${
- canUpdateProject ? 'justify-end' : 'justify-between'
- }`}
- >
- {!canUpdateProject && (
- <p className="text-sm text-scale-1000">
- You need additional permissions to manage this project's settings
- </p>
- )}
+ <div className="flex py-4 px-8">
<FormActions
form={formId}
isSubmitting={isSubmitting}
hasChanges={hasChanges}
handleReset={handleReset}
+ helper={
+ !canUpdateProject
+ ? "You need additional permissions to manage this project's settings"
+ : undefined
+ }
/>
</div>
}