Images are stretching.

Created on 21 June 2023, over 1 year ago
Updated 25 October 2023, about 1 year ago

Problem/Motivation

Images are stretching.

Steps to reproduce

  1. Install the theme
  2. Create a view of any content type
  3. Check the image.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @shweta__sharma
  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇦🇷Argentina tguerineau

    Hi, I have worked on the issue.

    Proposed Fix:

    Removed the max-height: 458px; style from the #wrapper img selector. This change ensures that images retain their natural aspect ratio and aren't artificially constrained by height, which was causing the stretching issue.

    Testing:
    I've tested the change across various views and content types within the theme. All images appear to retain their natural aspect ratios, and the stretching issue isn't observed anymore. However, given the global nature for the style (being in page.css), I recommend further testing.

    Patch:

    I've attached a patch that implements this change. Please review and test it.

Production build 0.71.5 2024