Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17876

print.css should be loaded with eZJSCore (easy to fix)

    XMLWordPrintable

    Details

      Description

      I'm using webin.

      In extension/ezwebin/design/ezwebin/templates/page_head_style.tpl, you can see that several css files are loaded with ezcss_load. Which is very good (minifying is a very good stuff)

      But at the of this file, you can read:

      <link rel="stylesheet" type="text/css" href={"stylesheets/print.css"|ezdesign} media="print" />
      

      As a result print.css won't be minified, which is a pity...

      A solution would be to delete this line (<link rel="stylesheet" type="text/css" href=

      {"stylesheets/print.css"|ezdesign}

      media="print" />)

      Then adding print.css to the ezcss_load()

      And finally in print.css wrap all the content by:

      @media print {
      
      all-the-content-of-print.css-here
      
      }
      

      A chance to see that for the next ezp release ?

        Attachments

          Activity

            People

            Assignee:
            unknown unknown
            Reporter:
            enzo Jerome Despatis
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: