Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5519

Dataform CSS selectors not specific to the module scope

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.8.5
    • 2.8
    • Set: Dataform
    • None
    • 2.8
    • MOODLE_28_STABLE
    • MOODLE_28_STABLE

      Some CSS selectors in the styles.css file are not specific enough to the contents provided by the module. The defined styles may affect other parts of Moodle outside your plugin scope (once they are concatenated with other plugins). Typical example may be selectors like .addnewentry. It is recommended that the selectors are specific to the content generated by the module only - typically by using something like .path-mod-dataform .addnewentry. Note that you may find LESS or other CSS pre-processors useful for this kind of things.

            itamart Itamar Tzadok (Inactive)
            mudrd8mz David Mudrák (@mudrd8mz)
            Itamar Tzadok Itamar Tzadok (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.