Fix emoji margin

This commit is contained in:
morethanwords 2021-09-25 16:46:55 +04:00
parent 14c2d76064
commit ccb8e7f44e
5 changed files with 12 additions and 9 deletions

View File

@ -2645,7 +2645,10 @@ export class AppMessagesManager {
} else if(document.type === 'round') { } else if(document.type === 'round') {
addPart('AttachRound', undefined, message.message); addPart('AttachRound', undefined, message.message);
} else if(document.type === 'sticker') { } else if(document.type === 'sticker') {
addPart(undefined, ((plain ? document.stickerEmojiRaw : document.stickerEmoji) || '')); if(document.stickerEmojiRaw) {
addPart(undefined, (plain ? document.stickerEmojiRaw : document.stickerEmoji) + ' ');
}
addPart('AttachSticker'); addPart('AttachSticker');
text = ''; text = '';
} else if(document.type === 'audio') { } else if(document.type === 'audio') {

View File

@ -947,10 +947,10 @@ $chat-helper-size: 36px;
} */ } */
} }
span.emoji { /* span.emoji {
margin: 0 .125rem; margin: 0 .125rem;
// font-size: .8rem; // font-size: .8rem;
} } */
} }
.new-message-wrapper { .new-message-wrapper {

View File

@ -450,7 +450,7 @@ $bubble-margin: .25rem;
img.emoji { img.emoji {
height: 18px; height: 18px;
width: 18px; width: 18px;
margin: 0 .05rem; // margin: 0 .05rem;
vertical-align: bottom; vertical-align: bottom;
} }
@ -2437,8 +2437,8 @@ $bubble-margin: .25rem;
width: .875rem; width: .875rem;
} }
img.emoji { /* img.emoji {
margin: 0 .125rem; margin: 0 .125rem;
} } */
} }
} }

View File

@ -133,11 +133,11 @@
user-select: none; user-select: none;
/* padding: .25rem; */ /* padding: .25rem; */
&.is-media { /* &.is-media {
.emoji:first-child { .emoji:first-child {
margin: 0 .25rem 0 0; margin: 0 .25rem 0 0;
} }
} } */
&-content { &-content {
flex-grow: 1; flex-grow: 1;

View File

@ -874,7 +874,7 @@ not screen and ( min-resolution: 2dppx) {
img.emoji { img.emoji {
width: 18px; width: 18px;
height: 18px; height: 18px;
margin: 0 .125rem; // margin: 0 .125rem;
display: inline-block; display: inline-block;
/* width: 100%; /* width: 100%;