Skip to content

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

Small fix

Joshen Lim87f492810dd4
diff --git a/packages/ui/src/lib/theme/defaultTheme.ts b/packages/ui/src/lib/theme/defaultTheme.ts
index 642450cb31d..6bb0ccc81ef 100644
--- a/packages/ui/src/lib/theme/defaultTheme.ts
+++ b/packages/ui/src/lib/theme/defaultTheme.ts
@@ -690,7 +690,7 @@ export default {
...defaults.size.text,
},
description: {
- base: `text-scale-900`,
+ base: `text-scale-1000`,
...defaults.size.text,
},
group: `space-y-3`,
diff --git a/studio/components/interfaces/Database/Tables/ColumnList.tsx b/studio/components/interfaces/Database/Tables/ColumnList.tsx
index 17e2a6f20c3..add64c1ac20 100644
--- a/studio/components/interfaces/Database/Tables/ColumnList.tsx
+++ b/studio/components/interfaces/Database/Tables/ColumnList.tsx
@@ -96,10 +96,10 @@ const ColumnList: FC<Props> = ({
)}
</Table.td>
<Table.td>
- <code className="text-sm">{x.data_type}</code>
+ <code className="text-xs">{x.data_type}</code>
</Table.td>
<Table.td className="font-mono text-xs">
- <code className="text-sm">{x.format}</code>
+ <code className="text-xs">{x.format}</code>
</Table.td>
<Table.td className="px-4 py-3 pr-2">
<div className="flex justify-end gap-2">
diff --git a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
index 98da0d515cb..09cd6e5259a 100644
--- a/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
+++ b/studio/components/interfaces/TableGridEditor/SidePanelEditor/ColumnEditor/ColumnEditor.tsx
@@ -94,7 +94,7 @@ const ColumnEditor: FC<Props> = ({
}
const updatedColumnFields = { ...columnFields, ...changes } as ColumnField
- if (changes.format !== 'text' && columnFields.isEncrypted) {
+ if (changes.format && changes.format !== 'text' && columnFields.isEncrypted) {
updatedColumnFields.isEncrypted = false
}
diff --git a/studio/pages/project/[ref]/editor/[id].tsx b/studio/pages/project/[ref]/editor/[id].tsx
index 6cb1e73194d..a93f9815ef7 100644
--- a/studio/pages/project/[ref]/editor/[id].tsx
+++ b/studio/pages/project/[ref]/editor/[id].tsx
@@ -227,7 +227,7 @@ const TableEditorPage: NextPage = () => {
Are you sure you want to delete the selected table? This action cannot be undone.
</p>
<Checkbox
- label="Drop with cascade?"
+ label="Drop table with cascade?"
description="Deletes the table and its dependent objects"
checked={isDeleteWithCascade}
onChange={() => setIsDeleteWithCascade(!isDeleteWithCascade)}