public inbox for [email protected]  
help / color / mirror / Atom feed
From: Aditya Toshniwal <[email protected]>
To: Akshay Joshi <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Subject: Re: [pgAdmin4][RM3695] Long name is not displayed completely in Drop confirmation pop up screen for server group
Date: Fri, 18 Jan 2019 15:28:18 +0530
Message-ID: <CAM9w-_k0DpvM5=opVXm1ep571S5qbNpG2KRiY5g5P-9gBCDJ_A@mail.gmail.com> (raw)
In-Reply-To: <CANxoLDee-U8fRA8ZMRE4qAf05VHOaaMeT7q2FBrJSmt0PkL94A@mail.gmail.com>
References: <CAM9w-_kqKUG86uOk1Z4+5N=5fdorcXFpH5CaWa0FzeFFWUqj_A@mail.gmail.com>
	<CANxoLDee-U8fRA8ZMRE4qAf05VHOaaMeT7q2FBrJSmt0PkL94A@mail.gmail.com>

Hi Hackers,

Attached is the revised patch. The previous patch may affect changes at
unwanted places.
The revised patch has limited scope and will affect only where required.

Kindly review.


On Tue, Jan 15, 2019 at 6:24 PM Akshay Joshi <[email protected]>
wrote:

> Thanks patch applied.
>
> On Tue, Jan 15, 2019 at 10:50 AM Aditya Toshniwal <
> [email protected]> wrote:
>
>> Hi Hackers,
>>
>> Attached is a tiny patch to fix long name display in dialogs.
>>
>> --
>> Thanks and Regards,
>> Aditya Toshniwal
>> Software Engineer | EnterpriseDB Software Solutions | Pune
>> "Don't Complain about Heat, Plant a tree"
>>
>
>
> --
> *Akshay Joshi*
>
> *Sr. Software Architect *
>
>
>
> *Phone: +91 20-3058-9517Mobile: +91 976-788-8246*
>


-- 
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB Software Solutions | Pune
"Don't Complain about Heat, Plant a tree"


Attachments:

  [application/octet-stream] RM3695.revised.patch (1.1K, 3-RM3695.revised.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/alertify.pgadmin.defaults.js b/web/pgadmin/static/js/alertify.pgadmin.defaults.js
index 0e890873..012c728a 100644
--- a/web/pgadmin/static/js/alertify.pgadmin.defaults.js
+++ b/web/pgadmin/static/js/alertify.pgadmin.defaults.js
@@ -429,6 +429,7 @@ define([
     onshow:function() {
       $(this.elements.commands.close).attr('title', gettext('Close'));
       $(this.elements.commands.maximize).attr('title', gettext('Maximize'));
+      $(this.elements.content).addClass('ajs-wrap-text');
     },
     reverseButtons: true,
   });
diff --git a/web/pgadmin/static/scss/_alertify.overrides.scss b/web/pgadmin/static/scss/_alertify.overrides.scss
index b856e0b1..523d55ba 100644
--- a/web/pgadmin/static/scss/_alertify.overrides.scss
+++ b/web/pgadmin/static/scss/_alertify.overrides.scss
@@ -53,10 +53,11 @@
   }
   .ajs-body .ajs-content {
     bottom: $footer-height-calc !important;
-    word-break: break-word;
+  }
+  .ajs-wrap-text {
+    word-break: break-all;
     word-wrap: break-word;
   }
-
   /* Removes padding from alertify footer */
   .ajs-footer {
     padding: 0;


view thread (7+ 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], [email protected]
  Subject: Re: [pgAdmin4][RM3695] Long name is not displayed completely in Drop confirmation pop up screen for server group
  In-Reply-To: <CAM9w-_k0DpvM5=opVXm1ep571S5qbNpG2KRiY5g5P-9gBCDJ_A@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