Return grid layout for emoji
Removed [contenteditable] from emoji on Apple devices
This commit is contained in:
parent
1dfd9ec3f6
commit
5ff12fabe0
@ -512,8 +512,8 @@ namespace RichTextProcessor {
|
||||
break;
|
||||
|
||||
case 'messageEntityEmoji':
|
||||
html.push(emojiSupported ?
|
||||
`<span class="emoji" contenteditable="false">${encodeEntities(entityText)}</span>` :
|
||||
html.push(emojiSupported ? // ! contenteditable="false" было у span, зачем?
|
||||
`<span class="emoji">${encodeEntities(entityText)}</span>` :
|
||||
`<img src="assets/img/emoji/${entity.unicode}.png" alt="${encodeEntities(entityText)}" class="emoji">`);
|
||||
break;
|
||||
|
||||
|
@ -162,10 +162,10 @@
|
||||
|
||||
.category-items {
|
||||
// ! No chrome 56 support
|
||||
/* display: grid;
|
||||
display: grid;
|
||||
grid-column-gap: 2.44px;
|
||||
grid-template-columns: repeat(auto-fill, 42px);
|
||||
justify-content: space-between; */
|
||||
justify-content: space-between;
|
||||
|
||||
font-size: 2.25rem;
|
||||
line-height: 2.25rem;
|
||||
|
Loading…
x
Reference in New Issue
Block a user