mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 12:29:37 +00:00
Fixes #1610
This commit is contained in:
parent
1d2ad3092f
commit
f2eda36569
@ -66,7 +66,7 @@ Item {
|
|||||||
if(contentType === Constants.stickerType) return "";
|
if(contentType === Constants.stickerType) return "";
|
||||||
let msg = Utils.linkifyAndXSS(message);
|
let msg = Utils.linkifyAndXSS(message);
|
||||||
if(isEmoji) {
|
if(isEmoji) {
|
||||||
return Emoji.parse(msg, Emoji.size.small);
|
return Emoji.parse(msg, Emoji.size.middle);
|
||||||
} else {
|
} else {
|
||||||
return `<style type="text/css">` +
|
return `<style type="text/css">` +
|
||||||
`p, img, a, del, code, blockquote { margin: 0; padding: 0; }` +
|
`p, img, a, del, code, blockquote { margin: 0; padding: 0; }` +
|
||||||
|
@ -7,6 +7,7 @@ import "../shared/status/emojiList.js" as EmojiJSON
|
|||||||
QtObject {
|
QtObject {
|
||||||
readonly property var size: {
|
readonly property var size: {
|
||||||
"big": "72x72",
|
"big": "72x72",
|
||||||
|
"middle": "32x32",
|
||||||
"small": "20x20"
|
"small": "20x20"
|
||||||
}
|
}
|
||||||
property string base: Qt.resolvedUrl("twemoji/")
|
property string base: Qt.resolvedUrl("twemoji/")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user