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

Inline editor: up and down arrows to resize an image do not work correctly according to "box-sizing" css property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.4, 4.8.0
    • None
    • None
    • None
    • 4.8.0 M3

      When box-sizing: border-box; is use for images (boostrap use for example), the width and height displayed in width/height ribbon inputs are 2px smaller than the real width/height of the image.

      As result, resizing the image by changing inputs or using arrows does not work correctly.

      For examples:

      • select a image and enter "400" for the width => the image is resized but input displayed 398px instead of 400
      • select an image of 398px and clic on up arrow to increase the size of 1px => the image is resize to 399px but the input width value is 397px => the image is resize to 397px

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: