PDF Export top right custom header rule not working correctly

XMLWordPrintable

    • 3
    • Minor

      Issue Summary

      On adding the @top-right custom header rule as a part of PDF Stylesheet under the Space and then exporting the space does not work correctly. The border around it confirms that it is aligned well within the boundaries of the page which is incorrect.

      Steps to Reproduce

      • As a part of PDF Stylesheet option under Space Tools -> Look and Feel -> PDF StyleSheet, add below stylesheet
       @page
       {
      
      border:2px solid yellow;
      
      @top-right
      { border:2px solid black; }
      
      @top-center
      { border:2px solid green; }
      
      @top-left
      { border:2px solid red; }
      
      }
      
      • Export space as PDF.

      Expected Results

      @top-right custom header border should be aligned to the extreme right of the page.

      Actual Results

      @top-right custom header border is not aligned to the extreme right of the page.

      Workaround

      Add following into the page tag:

      @page
      {
      padding-right: 0px;
      padding-left: 0px;
      } 
      

        1. after_fix.pdf
          33 kB
        2. before_fix.pdf
          33 kB

            Assignee:
            Unassigned
            Reporter:
            Paulo F. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: