Preserve spaces and line-breaks when displaying the SQL entered
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 24 Sep 2024 18:47:18 +0000 (13:47 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 24 Sep 2024 18:47:18 +0000 (13:47 -0500)
src/pgwui_sql/static/pgwui_sql.css

index e9bc875b94e2e64ad289483c521c6e9e0f0be17f..0463a2e9c0729a4dcbcba2e224865f7c450696e8 100644 (file)
@@ -22,7 +22,9 @@
  */
 
 /* The SQL entry window. */
-.sqltext { font-family: monospace; }
+.sqltext { font-family: monospace;
+           text-wrap: nowrap;
+           white-space-collapse: preserve; }
 textarea.sqltext { height: 40em;
                    width: 68em; }