Skip to content

Commit 28f6542

Browse files
committed
style: stickers being smaller than needed
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.
1 parent a858eeb commit 28f6542

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- dev: upgrade react to v18 and react pinch pan zoom to v3
99

1010
## Fixed
11+
- fix stickers being smaller than they're supposed to #4432
1112

1213
## [1.50.1] - 2024-12-18
1314

packages/frontend/scss/message/_message-attachment.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,6 @@
8383
}
8484
}
8585

86-
.message.type-sticker {
87-
.message-attachment-media {
88-
& > .attachment-content {
89-
max-height: 200px;
90-
max-width: 80%;
91-
}
92-
}
93-
}
94-
9586
.message-attachment-broken-media {
9687
@include button-reset;
9788
display: block;

0 commit comments

Comments
 (0)