Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18462

Contact activity tab - editable Subject makes page too wide

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.6
    • Fix Version/s: Unscheduled
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      This issue was originally raised as a sub-issue of CRM-18275 but wasn't addressed when that issue was closed.

      The Subject cell is editable in 4.7 but not in 4.6. So while the tab fits on the screen in 4.6 it is too wide in 4.7. The reason is that editable cell content has class "crm-editable-content" which has the CSS attribute "white-space: nowrap;". This makes the Subject column as wide as the longest subject.

      An obvious fix is to set "white-space: normal;" (line 3264 of css/civicrm.css). This makes the Subject wrap as desired.

      The problem with this is when we click to edit, the text is replaced by an <input> element of the same width and height, but not all the text appears. (Standard behaviour for INPUT elements of type "text".) (Sorry I can't give you a screenshot of that but the editor disappears as soon as the element loses focus.)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ken Ken West
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: