compose: Fix bug in preview where image at the end would be misaligned.

The `margin-bottom` was removed for the last element in the preview in
e55f5a1b59 to remove vertical shifts when
toggling preview mode, but it is not needed for image / video previews,
so now `margin-bottom` is not set to 0 for the last inline preview.
This commit is contained in:
N-Shar-ma 2024-05-09 21:39:43 +05:30 committed by Tim Abbott
parent a1a14527db
commit 74cdd6148e
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@
margin-top: 0; margin-top: 0;
} }
& > :last-child { & > :last-child:not(.message_inline_image) {
margin-bottom: 0; margin-bottom: 0;
} }
} }