Invidious is an alternative front-end to YouTube
add channel emoji css class
ChunkyProgrammer60b7c8015c9a
diff --git a/assets/css/default.css b/assets/css/default.cssindex 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.crindex 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"/>)endelse# Hide deleted channel emoji