summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--assets/css/default.css4
-rw-r--r--src/invidious/comments.cr2
2 files changed, 5 insertions, 1 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 9788e9f7..5ec79a43 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -565,3 +565,7 @@ p,
/* Wider settings name to less word wrap */
.pure-form-aligned .pure-control-group label { width: 19em; }
+
+.channel-emoji {
+ margin: 0 2px;
+}
diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr
index 6c323bc1..56622dec 100644
--- a/src/invidious/comments.cr
+++ b/src/invidious/comments.cr
@@ -701,7 +701,7 @@ def content_to_comment_html(content, video_id : String? = "")
str << %(title=") << emojiAlt << "\" "
str << %(width=") << emojiThumb["width"] << "\" "
str << %(height=") << emojiThumb["height"] << "\" "
- str << %(style="margin-right:2px;margin-left:2px;"/>)
+ str << %(class="channel-emoji"/>)
end
else
# Hide deleted channel emoji