From 178a58bb002ec9f96e4c30dc96f20be38daac5e9 Mon Sep 17 00:00:00 2001 From: andersonid Date: Wed, 2 Apr 2025 15:25:00 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20corre=C3=A7=C3=B5es=20no=20logo,=20remo?= =?UTF-8?q?=C3=A7=C3=A3o=20de=20mensagem=20de=20login=20e=20auto-dismiss?= =?UTF-8?q?=20de=20alertas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 12 ++++-------- templates/base.html | 20 +++++++++++++++++--- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 0e4cf1b..6d05c08 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -39,18 +39,14 @@ body { margin-right: 10px; } -.navbar-logo, .login-logo { +.navbar-logo { height: 35px; - width: auto; - object-fit: contain; - max-width: 100%; - image-rendering: -webkit-optimize-contrast; - image-rendering: crisp-edges; + width: 35px; } .login-logo { - height: 100px; - margin: 0 auto 1rem; + height: 80px; + width: 80px; } .nav-link { diff --git a/templates/base.html b/templates/base.html index 2c57184..627880b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -96,6 +96,7 @@ {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} + {% if not (category == 'success' and message == 'Login realizado com sucesso!') %} + {% endif %} {% endfor %} {% endif %} {% endwith %} @@ -121,9 +123,21 @@ {% block extra_js %}{% endblock %} - {% if current_user is defined and current_user.is_authenticated %} - {% endif %} \ No newline at end of file