Skip to content

Commit

Permalink
style: stickers being smaller than needed
Browse files Browse the repository at this point in the history
Because of `max-width: 80%`, which refers to 80% of the wrapper
square, and not the chat section
(the later was apparently the intention).
This has been introduced in #4315,
which has later been sort of reverted, but not completely, in
#4407.
So, let's remove the residuals, especially that stickers also have
fixed `height: 200px`, so `max-height` doesn't make sense.
  • Loading branch information
WofWca committed Jan 6, 2025
1 parent 4bf6070 commit d36e6e3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
## Fixed
- accessibility: make more items in messages list keyboard-accessible #4429
- fix "incoming message background color" being used for quotes of outgoing sticker messages #4456
- fix stickers being smaller than they're supposed to be #4432

## [1.50.1] - 2024-12-18

Expand Down
9 changes: 0 additions & 9 deletions packages/frontend/scss/message/_message-attachment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,6 @@
}
}

.message.type-sticker {
.message-attachment-media {
& > .attachment-content {
max-height: 200px;
max-width: 80%;
}
}
}

.message-attachment-broken-media {
@include button-reset;
display: block;
Expand Down

0 comments on commit d36e6e3

Please sign in to comment.