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

Split post type specific CSS to separate files

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Should have Should have
    • None
    • 8
    • Code Refactoring, Performance, Technical Debt
    • Sprint #182
    • pandora

      Currently our main index file loads CSS which is already nicely split per post type into the same file that is served on all posts types.

      We could serve this as a separate file for each post type.  The same could also be done for CSS intended only for the search page.

      See https://github.com/greenpeace/planet4-master-theme/blob/db3e97c97c3df43506a31bc027f483e749f51c1c/assets/src/scss/style.scss#L48-L72 

      • Check effect of any changed CSS order.

            pvincent Pieter Vincent
            pvincent Pieter Vincent
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: