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

Resizing the width for Fixed Width Table is limited by the text length in the table

XMLWordPrintable

      Issue Summary

      Resizing the width for Fixed Width Table is limited by the text length in the table

      This is reproducible on Data Center: Yes

      Steps to Reproduce

      1. Install Confluence
      2. Create a new page and insert a 3x3 table
      3. Change the table width to Fixed Width
      4. Adjust the width of any column to any specific length
      5. In the column that has the width adjusted, insert a long string in one of the column with only alphanumeric without any space (so that it exceeds the column length)
        example
        123456789123456789123456789123456789
        

      Expected Results

      The "fixed width" of the column should restrict the inserted text and force it into the next line
      Table Width Resize 7.4.mp4
      Confluence 7.13 and before is not impacted by this behavior

      Actual Results

      The inserted long string of text extends the set column width, as well as restricting the column width to be adjusted to smaller than the string length
      Table Width Resize 7.19.mp4
      Confluence 7.14.0 and above is impacted by this behavior

      Workaround

      Install Confluence Source Editor to edit the page and change the table class from fixed-width to fixed-table (which is what was used in the older Confluence versions):

      Change From This
      <table class="fixed-width" style="width: 92.0px;">
        <colgroup>
          <col style="width: 91.0px;"/>
        </colgroup>
        <tbody>
          <tr>
            <td>123123123</td>
          </tr>
        </tbody>
      </table>
      
      To This
      <table class="fixed-table" style="width: 92.0px;">
        <colgroup>
          <col style="width: 91.0px;"/>
        </colgroup>
        <tbody>
          <tr>
            <td>123123123</td>
          </tr>
        </tbody>
      </table>
      

              mleizerovich Maxim Leizerovich
              btan@atlassian.com Damien Tan
              Votes:
              9 Vote for this issue
              Watchers:
              18 Start watching this issue

                Created:
                Updated:
                Resolved: