From be53d04d651e593eb1c5f3772ba2aedca1d6305f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 7 Sep 2022 08:41:08 +0200 Subject: [PATCH] fix pp20 --- files/assets/css/main.css | 5 ++++- files/helpers/wrappers.py | 2 +- files/templates/util/assetcache.html | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 71d6bd6f7b..844b619213 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -3425,7 +3425,10 @@ small, .small { .profile-pic-65-wrapper { width: 65px; height: 65px; } .profile-pic-75-wrapper { width: 75px; height: 75px; } .profile-pic-100-wrapper { width: 100px; height: 100px; } -.profile-pic-20-hat { width: 20px; } +.profile-pic-20-hat { + width: 20px; + bottom: -2.5px; +} .profile-pic-30-hat { width: 30px; } .profile-pic-35-hat { width: 35px; } .profile-pic-50-hat { width: 50px; } diff --git a/files/helpers/wrappers.py b/files/helpers/wrappers.py index 0c1661401e..e1ee8e1480 100644 --- a/files/helpers/wrappers.py +++ b/files/helpers/wrappers.py @@ -80,7 +80,7 @@ def get_logged_in_user(): if v: v.poor = session.get('poor') if AEVANN_ID and request.headers.get("Cf-Ipcountry") == 'EG': - if v and v.id != AEVANN_ID: + if v and not v.username.startswith('Aev'): with open(f"/eg", "r+", encoding="utf-8") as f: ip = request.headers.get('CF-Connecting-IP') if f'@{v.username}, ' not in f.read(): diff --git a/files/templates/util/assetcache.html b/files/templates/util/assetcache.html index 8dce7c93d8..ca2abf035d 100644 --- a/files/templates/util/assetcache.html +++ b/files/templates/util/assetcache.html @@ -1,6 +1,6 @@ {%- set CACHE_VER = { - 'css/main.css': 4012, + 'css/main.css': 4013, 'css/catalog.css': 4002, 'css/4chan.css': 4002, 'css/classic.css': 4002,