Invidious is an alternative front-end to YouTube
Resize comment thumbnails
Omar Rothaac240fe4189
diff --git a/assets/css/default.css b/assets/css/default.cssindex 3084a3ed..46f1d58f 100644--- a/assets/css/default.css+++ b/assets/css/default.css@@ -9,8 +9,8 @@}.channel-profile > img {- width: 64px;- height: 64px;+ width: 48px;+ height: auto;}.channel-owner {diff --git a/src/invidious/comments.cr b/src/invidious/comments.crindex d20076d5..a2e6d4e6 100644--- a/src/invidious/comments.cr+++ b/src/invidious/comments.cr@@ -299,8 +299,8 @@ def template_youtube_comments(comments, locale, thin_mode)html += <<-END_HTML<div class="pure-g">- <div class="pure-u-4-24 pure-u-md-2-24">- <img style="width:90%;padding-right:1em;padding-top:1em" src="#{author_thumbnail}">+ <div class="channel-profile pure-u-4-24 pure-u-md-2-24">+ <img style="padding-right:1em;padding-top:1em" src="#{author_thumbnail}"></div><div class="pure-u-20-24 pure-u-md-22-24"><p>