Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2730

Images don't observe ATTO alignment attributes

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Using Mobile 34 prototype > Mobile Dev testing course > Resource: Label section > (Last label) where de cyclist are.
      2. Compare both web and mobile view. They should be similar. They will never be the same because: font size will be different and screen width also will be different. You can check the screenshot provided.
      Show
      Using Mobile 34 prototype > Mobile Dev testing course > Resource: Label section > (Last label) where de cyclist are. Compare both web and mobile view. They should be similar. They will never be the same because: font size will be different and screen width also will be different. You can check the screenshot provided.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      When inserting images using atto, one can have images align in various ways.

      On desktop when an image is aligned to the left or right then one has other elements such as <p>  appear alongside the image i.e. to the left or right of the inserted image.

      However in mobile app the other elements either appear above the image if the element is placed before the <img> tag or below if the element is placed after the <img> tag.

      <p>The image should appear on the left, this text should appear alongside and to to the right of the image, and not above it. <img src="https://www.layoutit.com/img/sports-q-c-140-140-3.jpg" alt="Bootstrap Image Preview" class="img-responsive atto_image_button_left" width="140" height="140"></p>
      

      Whether this is a bug is debatable, but certainly the behavior is not consistent between app and desktop.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/19

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                0m
                Logged:
                Time Not Required
                Not Specified