diff --git a/epicyon-profile.css b/epicyon-profile.css index b1233f330..cbaab7d90 100644 --- a/epicyon-profile.css +++ b/epicyon-profile.css @@ -1119,7 +1119,7 @@ h3 { user-select: all; white-space: nowrap; } - .hashtagswarm img { + .hashtagswarm img.commonemojilabel { width: 5%; min-width: 5%; } @@ -1906,7 +1906,7 @@ h3 { user-select: all; white-space: nowrap; } - .hashtagswarm img { + .hashtagswarm img.commonemojilabel { width: 10%; min-width: 10%; } @@ -2665,7 +2665,7 @@ h3 { user-select: all; white-space: nowrap; } - .hashtagswarm img { + .hashtagswarm img.commonemojilabel { width: 10%; min-width: 10%; } diff --git a/webapp_utils.py b/webapp_utils.py index 4c4e35c1b..852eba6d2 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -1699,7 +1699,8 @@ def html_common_emoji(base_dir: str, no_of_emoji: int) -> str: # NOTE: deliberately no alt text, so that without graphics only # the emoji name shows html_str += \ - '<label class="hashtagswarm"><img ' + \ + '<label class="hashtagswarm" id="commonemojilabel">' + \ + '<img loading="lazy" decoding="async" ' + \ 'src="/emoji/' + emoji_name + '.png" ' + \ 'alt="" title="">' + \ ':' + emoji_name + ':</label>\n'