Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-24004

PDF export: TOC page numbers overflow the right margin when more than 999 pages

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for Confluence Cloud. Using Confluence Server? See the corresponding suggestion.

      PDF exports from the Confluence documentation can contain over 1000 pages. When that is true, page numbers in the TOC overflow the right-hand margin, so that from page 999 on you see 100, 100, 100, 101 etc. (i.e. when page numbers have >3 digits) Embarrassing, really.

      See this user comment: (They have the same trouble.)
      http://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF?focusedCommentId=269980052#comment-269980052

      This CSS in the PDF Stylesheet is a workaround (it mucks with the indentation a bit):
      div.toc
      {
      text-align:right;
      }

      Can this CSS (or equivalent) be added to the default CSS for PDF export?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pwatson paulwatson (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: