The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Use table for roles tooltip instead (#48353)
Joshen Lim22284f1786c4
diff --git a/apps/studio/components/interfaces/Observability/DatabaseConnections/Overview.tsx b/apps/studio/components/interfaces/Observability/DatabaseConnections/Overview.tsxindex d8224a1ffa7..fb7129bb5a4 100644--- a/apps/studio/components/interfaces/Observability/DatabaseConnections/Overview.tsx+++ b/apps/studio/components/interfaces/Observability/DatabaseConnections/Overview.tsx@@ -135,12 +135,19 @@ export const Overview = ({ live }: OverviewProps) => {<MetricCardLabeltooltip={<div>- <p className="text-foreground-light pr-2">Connections by roles:</p>- {rolesWithActiveConnections.map((role) => (- <div key={role.id} className="flex items-center">- <p className="min-w-32">{role.name}:</p> {role.activeConnections}- </div>- ))}+ <p className="text-foreground-light">Connections by roles:</p>+ <table>+ <tbody>+ {rolesWithActiveConnections.map((role) => (+ <tr key={role.id}>+ <th scope="row" className="text-left font-normal">+ {role.name}:+ </th>+ <td className="pl-2">{role.activeConnections}</td>+ </tr>+ ))}+ </tbody>+ </table></div>}>