From 3193f3a171fcfe543311e07944a56bb3d4c6b7a1 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 20 Apr 2024 18:40:33 +0200 Subject: [PATCH] specify width and height --- files/assets/css/main.css | 6 ++++++ files/templates/comments.html | 2 +- files/templates/util/macros.html | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index f50f806a6..ba74498b8 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7863,3 +7863,9 @@ img[src$="/e/speechbubble.webp"] { tr:has(hideme) { display: none } + +.emoji-award-icon { + width: 20px; + height: 30px; + object-fit: contain; +} diff --git a/files/templates/comments.html b/files/templates/comments.html index 4d13100c4..d369970f7 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -115,7 +115,7 @@ {% for a in c.awards %} {% if a.kind in ["emoji","emoji-hz"] %} - {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" + {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" {% else %} {% endif %} diff --git a/files/templates/util/macros.html b/files/templates/util/macros.html index 8d3474c1c..4bd37d5ae 100644 --- a/files/templates/util/macros.html +++ b/files/templates/util/macros.html @@ -32,7 +32,7 @@ {% for a in p.awards %} {% if a.kind in ["emoji","emoji-hz"] %} - {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" + {{a.title}} Award given by @{{a.user.username}}: "{{a.note}}" {% else %} {% endif %}