Skip to content

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

Styling

Joshen Limf6653cf093a9
diff --git a/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx b/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx
index 9fe9939ec70..d8b4360ef66 100644
--- a/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx
+++ b/studio/components/interfaces/Organization/OAuthApps/AuthorizedAppRow.tsx
@@ -15,6 +15,14 @@ const AuthorizedAppRow = ({ app, onSelectRevoke }: AuthorizedAppRowProps) => {
return (
<Table.tr>
+ <Table.td>
+ <div
+ className="w-[30px] h-[30px] rounded-full bg-no-repeat bg-cover bg-center border border-scale-600 flex items-center justify-center"
+ style={{ backgroundImage: app.icon ? `url('${app.icon}')` : 'none' }}
+ >
+ {!!app.icon ? '' : `${app.name[0]}`}
+ </div>
+ </Table.td>
<Table.td>{app.name}</Table.td>
<Table.td>
<span className="font-mono truncate">{app.id}</span>
diff --git a/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx b/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
index f0a12c1ee54..52765963ce2 100644
--- a/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
+++ b/studio/components/interfaces/Organization/OAuthApps/OAuthAppRow.tsx
@@ -24,6 +24,14 @@ const OAuthAppRow = ({ app, onSelectEdit, onSelectDelete }: OAuthAppRowProps) =>
return (
<Table.tr>
+ <Table.td>
+ <div
+ className="w-[30px] h-[30px] rounded-full bg-no-repeat bg-cover bg-center border border-scale-600 flex items-center justify-center"
+ style={{ backgroundImage: app.icon ? `url('${app.icon}')` : 'none' }}
+ >
+ {!!app.icon ? '' : `${app.name[0]}`}
+ </div>
+ </Table.td>
<Table.td>{app.name}</Table.td>
<Table.td>
<span className="font-mono truncate">{app.client_id}</span>
diff --git a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
index 16a57ed315a..ddc7bee88cc 100644
--- a/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
+++ b/studio/components/interfaces/Organization/OAuthApps/OAuthApps.tsx
@@ -46,7 +46,7 @@ const OAuthApps = () => {
return (
<>
- <div className="container my-4 max-w-4xl space-y-8">
+ <div className="container my-4 max-w-5xl space-y-8">
<div>
<div className="flex items-center justify-between">
<div>
@@ -124,6 +124,7 @@ const OAuthApps = () => {
<Table
className="mt-4"
head={[
+ <Table.th key="icon" className="w-[30px]"></Table.th>,
<Table.th key="name">Name</Table.th>,
<Table.th key="client-id">Client ID</Table.th>,
<Table.th key="client-secret">Client Secret</Table.th>,
@@ -177,8 +178,9 @@ const OAuthApps = () => {
<Table
className="mt-4"
head={[
+ <Table.th key="icon" className="w-[30px]"></Table.th>,
<Table.th key="name">Name</Table.th>,
- <Table.th key="name">ID</Table.th>,
+ <Table.th key="id">ID</Table.th>,
<Table.th key="client-secret">Authorized at</Table.th>,
<Table.th key="delete-action"></Table.th>,
]}