element-hq / element-hq/element-web

Responsive size for image upload dialogue

Open
#18,198 0 comments 0 reactions 0 assignees View on GitHub
A-File-Upload A-Media O-Frequent T-Enhancement
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

#### Is your suggestion related to a problem? Please describe.
The file upload dialogue previews an image to confirm upload. This dialogue is ridiculously small on a big screen - by far smaller than the thumbnail maximum.

Here is element fullscreen on a 1440p screen (minus browser + OS frame):
![image](https://user-images.githubusercontent.com/2803622/126770605-a78f7858-7aab-4023-a924-f700e1c016f1.png)

#### Describe the solution you'd like.
A more adequate size, responsive to the window size. It is probably reasonable to use the same size at which a thumbnail would display, as seen in the timeline in the background.

While at it, the dialogue could also show some basic info like dimension, duration, ... depending on media type.

#### Describe alternatives you've considered.
no

#### Additional context
no

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.