public inbox for [email protected]  
help / color / mirror / Atom feed
From: Nikhil Mohite <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin][RM-4014]: Alignment issue on German Language under Preferences
Date: Fri, 12 Mar 2021 12:59:37 +0530
Message-ID: <CAOBg0AO8NgRjAw8syJ=szBfHsfKG60cACjExOahtKe5xpf2vjQ@mail.gmail.com> (raw)

Hi Hackers,

Please find the attached patch for RM-4014
<https://redmine.postgresql.org/issues/4014;: Alignment issue on German
Language under Preferences.


-- 
*Thanks & Regards,*
*Nikhil Mohite*
*Software Engineer.*
*EDB Postgres* <https://www.enterprisedb.com/;
*Mob.No: +91-7798364578.*


Attachments:

  [application/octet-stream] RM-4014.patch (1.4K, 3-RM-4014.patch)
  download | inline diff:
diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js
index d9d6981d..c12882f1 100644
--- a/web/pgadmin/static/js/backform.pgadmin.js
+++ b/web/pgadmin/static/js/backform.pgadmin.js
@@ -1950,7 +1950,7 @@ define([
       helpMessage: null,
     },
     template: _.template([
-      '<label for="<%=cId%>" class="<%=Backform.controlLabelClassName%>"><%=label%></label>',
+      '<label for="<%=cId%>" class="<%=Backform.controlLabelClassName%> text-wrap"><%=label%></label>',
       '<div class="<%=Backform.controlsClassName%>">',
       '  <input type="<%=type%>" id="<%=cId%>" class="<%=Backform.controlClassName%> <%=extraClasses.join(\' \')%>" name="<%=name%>" min="<%=min%>" max="<%=max%>"maxlength="<%=maxlength%>" value="<%-value%>" placeholder="<%-placeholder%>" <%=disabled ? "disabled" : ""%> <%=readonly ? "readonly aria-readonly=true" : ""%> <%=required ? "required" : ""%> />',
       '  <% if (helpMessage && helpMessage.length) { %>',
diff --git a/web/pgadmin/static/scss/_pgadmin.style.scss b/web/pgadmin/static/scss/_pgadmin.style.scss
index 94a11e50..6a185471 100644
--- a/web/pgadmin/static/scss/_pgadmin.style.scss
+++ b/web/pgadmin/static/scss/_pgadmin.style.scss
@@ -1131,3 +1131,6 @@ select:-webkit-autofill:focus {
 
 #myDropdown a:hover {background-color: $dropdown-link-hover-bg; color:$white !important;}
 
+.text-wrap {
+  word-break: break-word;
+}


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][RM-4014]: Alignment issue on German Language under Preferences
  In-Reply-To: <CAOBg0AO8NgRjAw8syJ=szBfHsfKG60cACjExOahtKe5xpf2vjQ@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