The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: width issues on long RLS labels
Jonathan Summers-Muir11bf3b34e462
diff --git a/studio/components/to-be-cleaned/Auth/PolicyTableRow.js b/studio/components/to-be-cleaned/Auth/PolicyTableRow.jsindex 644e1c365bf..87975d98acd 100644--- a/studio/components/to-be-cleaned/Auth/PolicyTableRow.js+++ b/studio/components/to-be-cleaned/Auth/PolicyTableRow.js@@ -44,18 +44,29 @@ const PolicyRow = ({onSelectDeletePolicy = () => {},}) => {return (- <div className="group">- <Panel.Content className="flex gap-2 justify-between py-4 border-b border-panel-border-light dark:border-panel-border-dark">- <div className="flex flex-col lg:flex-row lg:items-center gap-3">- <div className="font-mono text-xs text-scale-900">{policy.command}</div>- <div className="flex flex-col lg:flex-row gap-2">- <span className="text-sm text-scale-1200 truncate">{policy.name}</span>- <span className="text-sm text-scale-1100 truncate">- {policy.definition || policy.check}- </span>- </div>- </div>-+ <Panel.Content+ className="+ w-full+ flex gap-2+ lg:items-center+ py-4+ border-b+ border-panel-border-light+ dark:border-panel-border-dark+ "+ >+ {/* <div className="flex flex-col grow lg:flex-row lg:items-center gap-3"> */}+ <div className="font-mono text-xs text-scale-900">{policy.command}</div>+ <div className="flex flex-col lg:flex-row gap-2 truncate grow">+ <span className="text-sm text-scale-1200 truncate max-w-xs">{policy.name}</span>+ <span className="text-sm text-scale-1100 truncate">+ {policy.definition || policy.check}+ CREATE POLICY "policy_name" ON public.New FOR UPDATE USING ( auth.email() = email ) WITH+ CHECK ( auth.email() = email );+ </span>+ </div>+ {/* </div> */}+ <div className=""><Dropdownside="bottom"align="end"@@ -65,7 +76,6 @@ const PolicyRow = ({<Dropdown.Itemicon={<IconEdit size={14} />}type="outline"- className="mx-2"onClick={() => onSelectEditPolicy(policy)}>Edit@@ -87,8 +97,8 @@ const PolicyRow = ({icon={<IconMoreVertical />}/></Dropdown>- </Panel.Content>- </div>+ </div>+ </Panel.Content>)}