From 34f15db58f1ca3c83843fd8c7658238df89885ad Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Sat, 2 Feb 2019 12:21:52 +0000 Subject: [PATCH] nuxt-link home url exact match, others not --- components/SiteMenu.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/SiteMenu.vue b/components/SiteMenu.vue index 1601c5a..ddbd936 100644 --- a/components/SiteMenu.vue +++ b/components/SiteMenu.vue @@ -27,6 +27,7 @@ {{ item.text }} @@ -344,7 +345,7 @@ $transition-timing: .5s; opacity: .5; } - &.nuxt-link-exact-active { + &.nuxt-link-active { pointer-events: none; color: $color__neutral-900; opacity: 1; @@ -374,7 +375,7 @@ $transition-timing: .5s; opacity: 0; } - &.nuxt-link-exact-active::before { + &.nuxt-link-active::before { transition: opacity 1s .5s; opacity: .8; }