Bigger image is not resizing according container.

Created on 27 July 2023, over 1 year ago

Problem/Motivation

If image will not resize according container then it will be breaking layout.

Steps to reproduce

I added two columns layout (25%, 75%) in newly created content type then added image filed in second column(75% wider). The second column is wrapping if i am uploading bigger width(1200px) image.

Proposed resolution

img {max-width: 100%, height: auto;}

🐛 Bug report
Status

Needs review

Version

5.0

Component

Code

Created by

🇮🇳India ravi kant Jaipur

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ravi kant
  • @ravi-kant opened merge request.
  • Issue was unassigned.
  • Status changed to Needs review over 1 year ago
  • 🇮🇳India ravi kant Jaipur

    Created a PR according proposed solution.

Production build 0.71.5 2024