summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@protonmail.com>2019-07-01 12:08:29 -0500
committerOmar Roth <omarroth@protonmail.com>2019-07-01 12:08:29 -0500
commitaac240fe4189bc50be243e4cc74a7c65335a48a0 (patch)
tree4354546d9ad0bb1b3cd37af5e972ce5fee2f439b
parent041debcd93bac3ad15b1b0e305e8148e46353c59 (diff)
downloadinvidious-aac240fe4189bc50be243e4cc74a7c65335a48a0.tar.gz
invidious-aac240fe4189bc50be243e4cc74a7c65335a48a0.tar.bz2
invidious-aac240fe4189bc50be243e4cc74a7c65335a48a0.zip
Resize comment thumbnails
-rw-r--r--assets/css/default.css4
-rw-r--r--src/invidious/comments.cr4
2 files changed, 4 insertions, 4 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 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.cr
index 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>