Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2503

In first edition, fix the columns width does not work well

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.1, 3.2
    • None
    • Inline Editor
    • None

      How to reproduce

      • Go in edition
      • Insert a table
      • In advanced tab, choose to fix the column width
      • Try to change the columns width to 80px

      Actual behavior

      • Visually this has no effet,
      • the width input is set to 151px instead of 80px (see screenshot),
      • but the source code seems correct :
        <table class="simple">
        <tbody>
        <tr>
        <td style="width: 80px;">
        <p style="width: 151px;">Head 1</p>
        </td>
        <td style="width: 80px;">
        <p style="width: 143px;">Head 2</p>
        </td>
        <td style="width: 80px;">
        <p style="width: 112px;">Head 3</p>
        </td>
        </tr>
        <tr>
        <td style="width: 80px;">
        <p style="width: 152px;">Cell 1</p>
        </td>
        <td style="width: 80px;">
        <p style="width: 142px;">Cell 2</p>
        </td>
        <td style="width: 80px;">
        <p style="width: 112px;">Cel2</p>
        </td>
        </tr>
        </tbody>
        </table>
        
      • if you save the content, the columns width are corrects
      • if you re-edit the content, it works fine

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: