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

Remove or greatly increase max-height setting for search results box

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.1
    • Fix Version/s: 3.3.2
    • Component/s: None
    • Labels:
      None

      Description

      I'm not sure why this was implemented this way, but the search results box has a max-height setting of 180px;. This is not defined in the css file, so I assume it must be generating this attribute through javascript. I tried to locate the place in the code to change this but was unsuccessful.

      To me, it makes sense to remove this height restriction altogether, or at least greatly increase it, so that there are no scroll bars. It doesn't make sense to force the user to scroll the div down to find the last 5 of 10 search results. The search results box does not get in the way of anything, and it is still shorter than some of the other menus, therefore it should just show all results (it is limited to 10).

      I think the search results box should be restricted to be no taller than the browser window, but it should be tall enough to fit all results, or at least, greatly taller than 180px.

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              caseye Casey
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified