Uploaded image for project: 'Skin Intranet Cards'
  1. Skin Intranet Cards
  2. SKINCARDS-119

Unable to shrink an image with up and down arrows

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.14.0
    • 1.9.0
    • None
    • None
    • 4.8.0 M4

      How to reproduce

      • Create news or article content
      • Insert picture
      • Trying to scale down the image from the edit bar up and down
        It is not possible to reduce correctly

          [SKINCARDS-119] Unable to shrink an image with up and down arrows

          Due to boostrap import @import "../plugins/bootstrap/scss/reboot"; with following rule

          *, *::before, *::after {
              box-sizing: border-box;
          }
          

          To get image width/height we should use "img.offsetWidth" instead of "img.width"

          Laurence Aumeunier added a comment - Due to boostrap import @import "../plugins/bootstrap/scss/reboot"; with following rule *, *::before, *::after { box-sizing: border-box; } To get image width/height we should use "img.offsetWidth" instead of "img.width"

            laurence Laurence Aumeunier
            afrancois Anastasia François
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: