Daemonite / Daemonite/discourse-material-theme
Uploaded images appear stretched
- Dominant language
- CSS
- Stars
- 22
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
Dear @sesemaya,
after upgrading the theme to the most recent release (see [1]), we are pleased about how smooth this was. Thanks again for your awesome work on this!
When revisiting #14, we found that while the image display **works well in the editor preview** now,

images which are higher then wide are still getting stretched to the total width of the post, which will look like this in **display mode**

You can find the respective post where this happens at [2]. Thanks in advance for looking into that if you can find the time.
With kind regards,
Andreas.
[1] https://meta.discourse.org/t/daemonite-material-theme/64521/75
[2] https://meta.ip-tools.org/t/no-family-information-for-de69423220t2/137/2
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the image behavior in the linked post and compare the editor preview with display mode, focusing on portrait images that are stretched to the post width. Done means uploaded images preserve their aspect ratio in display mode without regressing the working editor preview.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100