element-hq / element-hq/element-web
Add minimum sizing to images (incurring blurring if needed)
- Dominant language
- TypeScript
- Stars
- 13.5k
- Forks
- 2.8k
- PR merge metrics
- PR metrics pending
Description
### Your use case
#### What would you like to do?
Images and other media in the timeline should have a minimum size of 32x32 or so to ensure the layout doesn't break.
#### Why would you like to do it?
If someone sends a 1x1 image, the message layout looks broken.
#### How would you like to achieve it?
`Math.max(dimension, 32)` or similar.
### Have you considered any alternatives?
_No response_
### Additional context
_No response_
Contributor guide
Research direction
No file or test is named. Start by locating the timeline's image and other media rendering entry point, then reproduce the layout with a 1x1 image. Done means timeline media is rendered at least 32x32, with the expected blurring when an image must be enlarged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100