Daemonite / Daemonite/discourse-material-theme

Uploaded images appear stretched

Open
#21 2 comments 0 reactions 0 assignees View on GitHub
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,
![image](https://user-images.githubusercontent.com/453543/55522288-98c17d80-5684-11e9-9eb9-cc116a916efd.png)

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**

![image](https://user-images.githubusercontent.com/453543/55522402-1a191000-5685-11e9-8409-188ed142185f.png)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.