[Rt-commit] rt branch, 4.2/ipv6-width, updated. rt-4.2.10-239-g1894ac5

Yevgeniy Gorodetskiy yevgeniy at bestpractical.com
Thu Apr 23 15:49:42 EDT 2015


The branch, 4.2/ipv6-width has been updated
       via  1894ac56a06f0b86655847ea5d90ddbd8c8182eb (commit)
      from  0d74a7e2dfba270d3eee3ad08dc5bfb3dbc59b48 (commit)

Summary of changes:
 share/static/css/rudder/ticket.css | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 1894ac56a06f0b86655847ea5d90ddbd8c8182eb
Author: Yevgeniy Gorodetskiy <yevgeniy at bestpractical.com>
Date:   Thu Apr 23 15:49:10 2015 -0400

    Widen IP custom fields to be wide enough for full IPv6 addresses
    
    IP address custom fields get the default width for custom field
    editing.  While this is wide enough for IPv6 addresses, it is not
    sufficiently wide enough for full IPv6 addresses, which are 45
    characters long.
    
    Use CSS to widen the text input for all IP custom field entries. The
    size of 24em was chosen based on testing in Safari, Firefox, Chrome and
    IE.
    
    Fixes: I#24565

diff --git a/share/static/css/rudder/ticket.css b/share/static/css/rudder/ticket.css
index b70b89e..d4e9971 100644
--- a/share/static/css/rudder/ticket.css
+++ b/share/static/css/rudder/ticket.css
@@ -67,12 +67,12 @@
 
 tr.edit-custom-field.cftype-IPAddress input, 
 tr.edit-custom-field.cftype-IPAddressRange input {
-    width: 300px;   
+    width: 24em;
 }
 
 tr.edit-custom-field.cftype-IPAddress textarea,
 tr.edit-custom-field.cftype-IPAddressRange textarea {
-    width: 310px;   
+    width: 24em;
 }
 
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list