Re: [pgAdmin4][Patch]: To display leading whitespace properly in columns - Query tool

2017-11-22 Thread Dave Page
Thanks, applied.

On Wed, Nov 22, 2017 at 7:34 AM, Murtuza Zabuawala <
murtuza.zabuaw...@enterprisedb.com> wrote:

> Hi,
>
> PFA minor patch to fix the issue where user were not able to see leading
> whitespace in their columns.
> RM#2880
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>


-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


[pgAdmin4][Patch]: To display leading whitespace properly in columns - Query tool

2017-11-21 Thread Murtuza Zabuawala
Hi,

PFA minor patch to fix the issue where user were not able to see leading
whitespace in their columns.
RM#2880

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git a/web/pgadmin/tools/sqleditor/static/css/sqleditor.css 
b/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
index 8a8cb5e..8f1ab44 100644
--- a/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
+++ b/web/pgadmin/tools/sqleditor/static/css/sqleditor.css
@@ -521,3 +521,7 @@ input.editor-checkbox:focus {
 .pg_buttons {
   text-align:right;
 }
+
+#datagrid .slick-row .slick-cell {
+  white-space: pre;
+}