Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Less vertical empty space for img attachments #4216

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
- cancel old message highlight animations when a new message is highlighted #4203
- fix: packaging: include architecture in filename for all appimages #4202
- fix: make open external link scheme case insensive #4201
- make wide but short message attachments have less empty space on top/bottom
maxphilippov marked this conversation as resolved.
Show resolved Hide resolved

<a id="1_46_8"></a>

Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/scss/message/_message-attachment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
& > .attachment-content {
object-fit: scale-down;
object-position: center;
height: 200px;
max-height: 200px;
min-height: 50px;
max-width: 100%;

// The padding on the bottom of the bubble produces 4 extra pixels of space at the
Expand Down
Loading