[Rt-commit] rt branch, 4.2/ipv6-width, created. rt-4.2.10-238-g1bfd05f

Yevgeniy Gorodetskiy yevgeniy at bestpractical.com
Mon May 4 10:31:54 EDT 2015


The branch, 4.2/ipv6-width has been created
        at  1bfd05f9327eab07d74b2ef05cccd5b25316d451 (commit)

- Log -----------------------------------------------------------------
commit 1bfd05f9327eab07d74b2ef05cccd5b25316d451
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 c1a8ddc..2b0233b 100644
--- a/share/static/css/rudder/ticket.css
+++ b/share/static/css/rudder/ticket.css
@@ -64,3 +64,13 @@
 .summary>div>.titlebox>.titlebox-content {
     background: none
 }
+
+tr.edit-custom-field.cftype-IPAddress input,
+tr.edit-custom-field.cftype-IPAddressRange input {
+    width: 24em;
+}
+
+tr.edit-custom-field.cftype-IPAddress textarea,
+tr.edit-custom-field.cftype-IPAddressRange textarea {
+    width: 24em;
+}
\ No newline at end of file

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


More information about the rt-commit mailing list