From be6ca6888268d797a9d27697f7b6d97b12dbb7f8 Mon Sep 17 00:00:00 2001 From: WofWca Date: Sun, 22 Dec 2024 23:36:58 +0400 Subject: [PATCH] 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 https://github.com/deltachat/deltachat-desktop/pull/4315, which has later been sort of reverted, but not completely, in https://github.com/deltachat/deltachat-desktop/pull/4407. So, let's remove the residuals, especially that stickers also have fixed `height: 200px`, so `max-height` doesn't make sense. --- CHANGELOG.md | 1 + packages/frontend/scss/message/_message-attachment.scss | 9 --------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 018f8e8906..e8ec5a5630 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/packages/frontend/scss/message/_message-attachment.scss b/packages/frontend/scss/message/_message-attachment.scss index 557f91e4ec..a7d48908fb 100644 --- a/packages/frontend/scss/message/_message-attachment.scss +++ b/packages/frontend/scss/message/_message-attachment.scss @@ -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;