diff --git a/framework/core/js/src/common/components/LinkButton.js b/framework/core/js/src/common/components/LinkButton.js index 1ce560693..cde7c9d81 100644 --- a/framework/core/js/src/common/components/LinkButton.js +++ b/framework/core/js/src/common/components/LinkButton.js @@ -39,6 +39,6 @@ export default class LinkButton extends Button { * @return {boolean} */ static isActive(attrs) { - return typeof attrs.active !== 'undefined' ? attrs.active : m.route.get() === attrs.href; + return typeof attrs.active !== 'undefined' ? attrs.active : m.route.get()?.split('?')[0] === attrs.href?.split('?')[0]; } } diff --git a/framework/core/less/common/root.less b/framework/core/less/common/root.less index 16d98438e..0bafe38eb 100644 --- a/framework/core/less/common/root.less +++ b/framework/core/less/common/root.less @@ -40,7 +40,7 @@ --yiq-threshold: 108; } & when (@config-dark-mode = false) { - --yiq-threshold: 138; + --yiq-threshold: 150; } // ---------------------------------