bigger font size on chat messages
This commit is contained in:
parent
0072887338
commit
c5a3c92902
2 changed files with 4 additions and 4 deletions
|
@ -299,8 +299,8 @@
|
||||||
padding: 8px 8px 2px 8px;
|
padding: 8px 8px 2px 8px;
|
||||||
color: #f5f5f5;
|
color: #f5f5f5;
|
||||||
font-family: arial, sans-serif;
|
font-family: arial, sans-serif;
|
||||||
font-size: 13px;
|
font-size: 16px;
|
||||||
line-height: 14px;
|
line-height: 17px;
|
||||||
|
|
||||||
a:link {
|
a:link {
|
||||||
color: #4fb5c0;
|
color: #4fb5c0;
|
||||||
|
|
|
@ -167,13 +167,13 @@ const Util = {
|
||||||
})
|
})
|
||||||
return text
|
return text
|
||||||
},
|
},
|
||||||
addEmoji: function(withoutEmoji, emoticons = true) {
|
addEmoji: function(withoutEmoji, opts = { emoticons: false }) {
|
||||||
let text = withoutEmoji
|
let text = withoutEmoji
|
||||||
Object.keys(emojiIndex.emojis).forEach(key => {
|
Object.keys(emojiIndex.emojis).forEach(key => {
|
||||||
const emoji = emojiIndex.emojis[key]
|
const emoji = emojiIndex.emojis[key]
|
||||||
text = text.replace(new RegExp(escapeRegExp(emoji.colons), 'g'), emoji.native)
|
text = text.replace(new RegExp(escapeRegExp(emoji.colons), 'g'), emoji.native)
|
||||||
})
|
})
|
||||||
if (emoticons) {
|
if (opts.emoticons) {
|
||||||
Object.keys(emojiIndex.emoticons).forEach(emoticon => {
|
Object.keys(emojiIndex.emoticons).forEach(emoticon => {
|
||||||
const key = emojiIndex.emoticons[emoticon]
|
const key = emojiIndex.emoticons[emoticon]
|
||||||
const emoji = emojiIndex.emojis[key]
|
const emoji = emojiIndex.emojis[key]
|
||||||
|
|
Loading…
Add table
Reference in a new issue