horizontal scroll bar missing for code macro in JIRA 6

XMLWordPrintable

    • 6

      The horizontal bar for code macro has been missing in JIRA 6 despite the code block has long text of codes and it has been auto wrap up the text. However, the same content will give the scroll bar on noformat macro in JIRA 6 and code macro in JIRA 5.2.x.

      Steps to Reproduce'

      1. In JIRA 6 description field or comment field, insert the content of sample_sourcecode.java into the code macro:
        {code}
        //insert source code from sample_sourcecode.java
        {code}
        
      2. Add the comment or save the description

      Expected Result:

      A horizontal bar appear for the code macros and the content shouldn't been auto wrap in the macro.

      Actual Result:

      The content of code macro has been wrapping automatically and no horizontal scroll bar for the macro.

      Note:

      Do refer to the screenshots:

      JIRA 6 code macro behaviour:

      JIRA 5.2.11 code macro behaviour:

        1. sample_sourcecode.java
          3 kB
        2. jira5.2.11_code_macro.png
          jira5.2.11_code_macro.png
          40 kB
        3. jira6_code_macro.png
          jira6_code_macro.png
          31 kB

            Assignee:
            Unassigned
            Reporter:
            TeckEn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: