Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5400

Articles editor CSS rule scope is not specific enough

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.38.0
    • Labels:
      None
    • Section:
      Block: Articles
    • Repositories:
      planet4-plugin-gutenberg-blocks

      Description

      A rule in the ArticlesEditor.scss file is not specific enough and applies to all `a` elements in the editor, causing various problems in other blocks.

       

      See https://github.com/greenpeace/planet4-plugin-gutenberg-blocks/blob/54724878888afee6125f85e7dc7fc5b6519120d2/assets/src/styles/blocks/ArticlesEditor.scss#L33

       

      tasks

      • give a more specific selector to this rule.
      • check that it doesn't apply to other `a` elements in other blocks in the editor.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              fhernand Florent Hernandez
              Reporter:
              fhernand Florent Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: