Skip to content

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

Chore: preserve whitespace in SQL Editor result table (#27324)

Monica Khouryc3af755d29fb
diff --git a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
index 3e1e1577da1..eaeadf053f1 100644
--- a/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
+++ b/apps/studio/components/interfaces/SQLEditor/UtilityPanel/Results.tsx
@@ -45,7 +45,7 @@ const Results = ({ id, rows }: { id: string; rows: readonly any[] }) => {
const formatter = (column: any, row: any) => {
return (
<span
- className="font-mono text-xs w-full"
+ className="font-mono text-xs w-full whitespace-pre"
onContextMenu={(e) =>
showContextMenu(e, {
id: SQL_CONTEXT_EDITOR_ID,