Skip to content

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

SQl editor wrap errors instead of overflow scroll (#21987)

Joshen Limc6ccd74facfb
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
index 0aba251dc3e..caad3ab674e 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/UtilityTabResults.tsx
@@ -104,10 +104,10 @@ const UtilityTabResults = ({ id, isExecuting }: UtilityTabResultsProps) => {
</p>
</div>
) : (
- <div className="overflow-x-auto">
+ <div className="">
{formattedError.length > 0 ? (
formattedError.map((x: string, i: number) => (
- <pre key={`error-${i}`} className="font-mono text-sm">
+ <pre key={`error-${i}`} className="font-mono text-sm text-wrap">
{x}
</pre>
))