Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15212

Code box has double horizontal scrollbars

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 3.2.1-RC1
    • 3.2.0
    • Styles
    • None

      The code box has two overflow properties set, one on the code element and one on the parent div container:

      .codebox {overflow-x: scroll;}
      

      .codebox code {overflow: auto;} 
      

      As a result, double horizontal scrollbars will appear when there is overflow and there's a permanent horizontal scrollbar on the parent div. Thus, the overflow property should be removed from the parent div.

            Marc Marc
            Louis7777 Louis7777 [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: