Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-12377

Reduce line-height of title so wrapping doesn't look so ugly

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      line-height for wiki page title element is set to 2, this causes the title to look pretty ugly when title is too long and wraps on a new line.

      From master.css (line 1983):

      #com-atlassian-confluence h1 {
        line-height:2;
      }
      

      I'm not sure if there is a specific reason for this, but I tried to change the value to 1.1 or 1.2 and the issue was resolved. The value was change by adding this to our stylesheet:

      h1#title-heading {
          line-height:1.1;
      }
      

      A demo of the problem can be seen here: http://confluence.demo.atlassian.com/display/TEST/A+page+with+a+very+very+long+title+that+will+eventually+wrap+on+to+a+new+line

            Unassigned Unassigned
            15d9a6950818 Igor Minar
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: