diff --git a/files/helpers/jinja2.py b/files/helpers/jinja2.py index 612d7e30e..be30cd292 100644 --- a/files/helpers/jinja2.py +++ b/files/helpers/jinja2.py @@ -27,11 +27,10 @@ def favorite_emojis(x): str = "" emojis = sorted(x.items(), key=lambda x: x[1], reverse=True)[:25] for k, v in emojis: - str += f'' + str += f'' return str @app.context_processor def inject_constants(): constants = [c for c in dir(const) if not c.startswith("_")] - return {c:getattr(const, c) for c in constants} - + return {c:getattr(const, c) for c in constants} \ No newline at end of file diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 1e41ad2c0..c9d70e4a8 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -13,7 +13,7 @@ margin: 1.75rem auto !important; } } - .emoji:focus { + .emoji2:focus { border: 1px solid var(--primary) !important; }