From: Karl O. Pinc Date: Tue, 24 Sep 2024 18:47:18 +0000 (-0500) Subject: Preserve spaces and line-breaks when displaying the SQL entered X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=84cd08e689fae3f8f52b04ca2414dcd9a38507b5;p=pgwui_sql Preserve spaces and line-breaks when displaying the SQL entered --- diff --git a/src/pgwui_sql/static/pgwui_sql.css b/src/pgwui_sql/static/pgwui_sql.css index e9bc875..0463a2e 100644 --- a/src/pgwui_sql/static/pgwui_sql.css +++ b/src/pgwui_sql/static/pgwui_sql.css @@ -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; }