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

CSS Rule for Event Panels too broad

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6, 4.7
    • Fix Version/s: 4.7.19
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      There is a rule that affects all objects:

      `.crm-container .panel {}`

      This is in css/civicrm.css:1501

      This rule is far broader than needed and interferes with using bootstrap and civicrm on the same site. All instances of html that are actually using this rule, and all the surrounding rules contain an object type selector `ul.panel`

      I recommend changing this rule to be `.crm-container ul.panel` this should have no affect on existing layouts, but will keep from breaking bootstrap (or other css frameworks) panels from being completely hidden.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tobiaslounsbury Tobias Lounsbury
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: