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

style: fix reactions to stickers overlapping #4433

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Dec 22, 2024

This is based on #4432.

Before / after
image image

Apparently this margin-bottom: -7px is a residue
from copy pasting it from .metadata for regular text messages.
We have marin: 0 set for image-only messages,
so we should set margin: 0 for sticker messages as well.

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.
@WofWca WofWca changed the title wofwca/fix sticker reactions overlapping style: fix reactions to stickers overlapping Dec 22, 2024
Apparently this `margin-bottom: -7px` is a residue
from copy pasting it from `.metadata` for regular text messages.
We have `marin: 0` set for image-only messages,
so we should set `margin: 0` for sticker messages as well.

Similar MR: #4237.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant