Skip to content

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

fix storage policy warning spacing (#45910)

Danny White3e50212ad71f
diff --git a/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx b/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
index 5204bb9262e..66beac82352 100644
--- a/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
+++ b/apps/studio/components/interfaces/Storage/PublicBucketWarning.tsx
@@ -198,8 +198,11 @@ function PublicBucketWarningView(props: PublicBucketWarningViewProps): ReactNode
>
<div className="flex flex-col gap-3">
<p className="text-sm text-foreground-light">
- This will drop {hasMultiplePolicies ? 'one' : 'the'} <code>SELECT</code> policy that
- makes the bucket&apos;s contents listable. Object URLs will continue to work.
+ This will drop {hasMultiplePolicies ? 'one' : 'the'}{' '}
+ <code className="text-code-inline">SELECT</code>
+ {
+ ' policy that makes the bucket’s contents listable. Object URLs will continue to work.'
+ }
{hasMultiplePolicies
? ` ${policyCount - 1} matching ${
policyCount - 1 === 1 ? 'policy' : 'policies'