public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM7168] Geometry Viewer popup UI improvement
Date: Fri, 8 Apr 2022 15:20:42 +0530
Message-ID: <CAM9w-_nZXQzRxGvRFFgxxVkRGkrOomRfUm-zjw0dF1GQZowr7g@mail.gmail.com> (raw)

Hi Hackers,

Please review the attached patch.

-- 
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com;
"Don't Complain about Heat, Plant a TREE"


Attachments:

  [application/octet-stream] RM7168.patch (927B, 3-RM7168.patch)
  download | inline diff:
diff --git a/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx b/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx
index 845148d6a..755ba4662 100644
--- a/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx
+++ b/web/pgadmin/tools/sqleditor/static/js/components/sections/GeometryViewer.jsx
@@ -24,7 +24,11 @@ const useStyles = makeStyles((theme)=>({
   mapContainer: {
     backgroundColor: theme.palette.background.default,
     height: '100%',
-    width: '100%'
+    width: '100%',
+    '& .leaflet-popup-content': {
+      overflow: 'auto',
+      margin: '8px',
+    }
   },
   table: {
     borderSpacing: 0,
@@ -38,7 +42,6 @@ const useStyles = makeStyles((theme)=>({
     ...theme.mixins.panelBorder.right,
     overflow: 'hidden',
     textOverflow: 'ellipsis',
-    whiteSpace: 'nowrap',
   },
   tableCellHead: {
     fontWeight: 'bold',


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: [pgAdmin][RM7168] Geometry Viewer popup UI improvement
  In-Reply-To: <CAM9w-_nZXQzRxGvRFFgxxVkRGkrOomRfUm-zjw0dF1GQZowr7g@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox