Fix auto-scrolling with emotes

All emotes are set to have a height of 28px.  This fixes the
auto-scroll on message when the message has emotes, but it also forces
all emotes to be 28px high.
This commit is contained in:
Zorchenhimer 2019-03-23 18:13:55 -04:00
parent b4ae3fa9f8
commit 37cf2f7811
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func ParseEmotesArray(words []string) []string {
found := false
for key, val := range Emotes {
if key == word {
newWords = append(newWords, fmt.Sprintf("<img src=\"/emotes/%s\" title=\"%s\" />", val, key))
newWords = append(newWords, fmt.Sprintf(`<img src="/emotes/%s" height="28px" title="%s" />`, val, key))
found = true
}
}