add channel emoji css class

This commit is contained in:
ChunkyProgrammer 2023-03-02 07:29:44 -05:00
parent b5eb6016bb
commit 60b7c8015c
2 changed files with 5 additions and 1 deletions

View File

@ -565,3 +565,7 @@ p,
/* Wider settings name to less word wrap */ /* Wider settings name to less word wrap */
.pure-form-aligned .pure-control-group label { width: 19em; } .pure-form-aligned .pure-control-group label { width: 19em; }
.channel-emoji {
margin: 0 2px;
}

View File

@ -701,7 +701,7 @@ def content_to_comment_html(content, video_id : String? = "")
str << %(title=") << emojiAlt << "\" " str << %(title=") << emojiAlt << "\" "
str << %(width=") << emojiThumb["width"] << "\" " str << %(width=") << emojiThumb["width"] << "\" "
str << %(height=") << emojiThumb["height"] << "\" " str << %(height=") << emojiThumb["height"] << "\" "
str << %(style="margin-right:2px;margin-left:2px;"/>) str << %(class="channel-emoji"/>)
end end
else else
# Hide deleted channel emoji # Hide deleted channel emoji