Skip to content

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

Misc styling fixes

Joshen Lim1cf3779bfe50
diff --git a/studio/components/interfaces/Database/Backups/BackupsList.tsx b/studio/components/interfaces/Database/Backups/BackupsList.tsx
index 9fbe381ead5..8ba7c4151bc 100644
--- a/studio/components/interfaces/Database/Backups/BackupsList.tsx
+++ b/studio/components/interfaces/Database/Backups/BackupsList.tsx
@@ -46,9 +46,9 @@ const BackupsList: FC<Props> = ({}) => {
return (
<div
className={[
- 'block w-full p-3 px-6 border rounded border-opacity-20',
+ 'block w-full py-4 px-6 border rounded border-opacity-20',
'bg-gray-100 border-gray-600',
- 'dark:bg-gray-600 dark:border-gray-500',
+ 'dark:bg-gray-400 dark:border-gray-300',
].join(' ')}
>
<div className="flex space-x-3">
diff --git a/studio/components/interfaces/Database/Extensions/Extensions.tsx b/studio/components/interfaces/Database/Extensions/Extensions.tsx
index 69aaad67ca0..8653309156f 100644
--- a/studio/components/interfaces/Database/Extensions/Extensions.tsx
+++ b/studio/components/interfaces/Database/Extensions/Extensions.tsx
@@ -26,7 +26,7 @@ const Extensions: FC<Props> = ({}) => {
<div className="mb-4">
<div className="flex">
<Input
- size="tiny"
+ size="small"
placeholder={'Filter'}
value={filterString}
onChange={(e) => setFilterString(e.target.value)}
diff --git a/studio/components/interfaces/Database/Publications/PublicationsList.tsx b/studio/components/interfaces/Database/Publications/PublicationsList.tsx
index 1008cdfd8f5..1d374ada6e7 100644
--- a/studio/components/interfaces/Database/Publications/PublicationsList.tsx
+++ b/studio/components/interfaces/Database/Publications/PublicationsList.tsx
@@ -52,7 +52,7 @@ const PublicationsList: FC<Props> = ({ onSelectPublication = () => {} }) => {
<div className="flex items-center">
<div>
<Input
- size="tiny"
+ size="small"
icon={<IconSearch size="tiny" />}
placeholder={'Filter'}
value={filterString}
diff --git a/studio/components/interfaces/Database/Publications/PublicationsTables.tsx b/studio/components/interfaces/Database/Publications/PublicationsTables.tsx
index 7d2cae02e1b..27fc0c4a785 100644
--- a/studio/components/interfaces/Database/Publications/PublicationsTables.tsx
+++ b/studio/components/interfaces/Database/Publications/PublicationsTables.tsx
@@ -69,7 +69,7 @@ const PublicationsTables: FC<Props> = ({
/>
<div>
<Input
- size="tiny"
+ size="small"
placeholder={'Filter'}
value={filterString}
onChange={(e) => setFilterString(e.target.value)}
diff --git a/studio/components/interfaces/Database/Roles/RolesSettings.tsx b/studio/components/interfaces/Database/Roles/RolesSettings.tsx
index f94248beb07..96d11f96fba 100644
--- a/studio/components/interfaces/Database/Roles/RolesSettings.tsx
+++ b/studio/components/interfaces/Database/Roles/RolesSettings.tsx
@@ -38,40 +38,30 @@ const RolesSettings: FC<Props> = ({ selectedRole, onSelectBack = () => {} }) =>
<Panel>
<Panel.Content className="w-full flex justify-between items-center">
- <Typography.Text>Super user</Typography.Text>
- <Typography.Text small code>
- {selectedRole.is_superuser ? 'true' : 'false'}
- </Typography.Text>
+ <p className="text-sm">Super user</p>
+ <code className="text-sm">{selectedRole.is_superuser ? 'true' : 'false'}</code>
</Panel.Content>
<Divider light />
<Panel.Content className="w-full flex justify-between items-center">
- <Typography.Text>User can login</Typography.Text>
- <Typography.Text small code>
- {selectedRole.can_login ? 'true' : 'false'}
- </Typography.Text>
+ <p className="text-sm">User can login</p>
+ <code className="text-sm">{selectedRole.can_login ? 'true' : 'false'}</code>
</Panel.Content>
<Divider light />
<Panel.Content className="w-full flex justify-between items-center">
- <Typography.Text>User can create databases</Typography.Text>
- <Typography.Text small code>
- {selectedRole.can_create_db ? 'true' : 'false'}
- </Typography.Text>
+ <p className="text-sm">User can create databases</p>
+ <code className="text-sm">{selectedRole.can_create_db ? 'true' : 'false'}</code>
</Panel.Content>
<Divider light />
<Panel.Content className="w-full flex justify-between items-center">
- <Typography.Text>
+ <p className="text-sm">
User can initiate streaming replication and put the system in and out of backup mode
- </Typography.Text>
- <Typography.Text small code>
- {selectedRole.is_replication_role ? 'true' : 'false'}
- </Typography.Text>
+ </p>
+ <code className="text-sm">{selectedRole.is_replication_role ? 'true' : 'false'}</code>
</Panel.Content>
<Divider light />
<Panel.Content className="w-full flex justify-between items-center">
- <Typography.Text>User bypasses every row level security policy</Typography.Text>
- <Typography.Text small code>
- {selectedRole.can_bypass_rls ? 'true' : 'false'}
- </Typography.Text>
+ <p className="text-sm">User bypasses every row level security policy</p>
+ <code className="text-sm">{selectedRole.can_bypass_rls ? 'true' : 'false'}</code>
</Panel.Content>
</Panel>
</>