From 036eaf1afd6842326a4bab785444b263c58132e5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 8 Oct 2021 15:20:32 +0200 Subject: [PATCH] fdsfds --- files/helpers/jinja2.py | 5 ++--- files/templates/emoji_modal.html | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) 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; }