From 546cf6bdfefce79f116dea4bf643903ad9f78fe0 Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 4 Jul 2023 11:48:05 +0300 Subject: [PATCH] fix header --- css/index.css | 1 - templates/partials/header.html | 19 ++++++++++++------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/css/index.css b/css/index.css index 0a05f9a26..d2bc44daf 100644 --- a/css/index.css +++ b/css/index.css @@ -259,7 +259,6 @@ header { .nav_btn { margin: 0 !important; - padding: 0 !important; border: none !important; box-shadow: none !important; } diff --git a/templates/partials/header.html b/templates/partials/header.html index 30503ec4d..7379e4b20 100644 --- a/templates/partials/header.html +++ b/templates/partials/header.html @@ -34,21 +34,26 @@ {% if ' {{link_label}} {% endif %} - {% else %} - - {{link_label}} - - {% endif %} + {% elif current == current_url %} + + {{link_label}} + + {% else %} + + {{link_label}} + + {% endif %} {% else %}
{% set button_id = header_label ~ "-menu-btn" | slugify %} - @@ -104,7 +109,7 @@