Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-1075

The embed images in 'Place' content type stretch to 100% width and does not retain the predefined sizes (small, medium, large etc.)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.6.0, 1.6.0-beta1
    • Fix Version/s: 1.5.2, 1.6.1
    • Component/s: Studio Demo Bundle
    • Labels:
      None
    • Environment:

      Chrome - Version 54.0.2840.59 (64-bit)
      MacBook Pro, OS El Capitan version 10.11.6

      Description

      I embedded an image in the body of a Place content object.
      When I publish this content object then in the sales demo this image is stretched to 100% in width.

      Please see the attached screenshot.

      EDIT (Sylvain):
      The issue is related to https://github.com/ezsystems/ezstudio-demo-bundle/blob/master/Resources/public/css/content_types/place.css#L8
      It should be

      .content-image img {
          width: 100%;
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            supriya.bhargava@ez.no Supriya Bhargava
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: