From f69fb8ee689bb058a1b1b0fb3138baadc321f139 Mon Sep 17 00:00:00 2001 From: Sviatoslav Abakumov Date: Fri, 6 Dec 2024 16:52:09 +0400 Subject: [PATCH] Header: Keep the link to the current page active --- assets/sass/_header.scss | 10 ---------- layouts/partials/header.html | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/assets/sass/_header.scss b/assets/sass/_header.scss index afa30b5..5570158 100644 --- a/assets/sass/_header.scss +++ b/assets/sass/_header.scss @@ -32,11 +32,6 @@ $header-menu-open-duration: 0.3s; @include a-no-underline; position: relative; z-index: 200; - - &.is-disabled { - cursor: default; - pointer-events: none; - } } &--menu { @@ -146,11 +141,6 @@ $header-menu-open-duration: 0.3s; transform: none; } } - - &.is-active { - cursor: default; - pointer-events: none; - } } &--button-wrapper { diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fab0f98..d3935d4 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -6,7 +6,7 @@ >
{{ readFile "static/img/logo.svg" | strings.TrimSpace | safeHTML }}