mirror of
https://github.com/flarum/core.git
synced 2025-08-04 15:37:51 +02:00
fix(qa): increase YIQ and fix menu item title
Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
@@ -39,6 +39,6 @@ export default class LinkButton extends Button {
|
|||||||
* @return {boolean}
|
* @return {boolean}
|
||||||
*/
|
*/
|
||||||
static isActive(attrs) {
|
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];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -40,7 +40,7 @@
|
|||||||
--yiq-threshold: 108;
|
--yiq-threshold: 108;
|
||||||
}
|
}
|
||||||
& when (@config-dark-mode = false) {
|
& when (@config-dark-mode = false) {
|
||||||
--yiq-threshold: 138;
|
--yiq-threshold: 150;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------
|
// ---------------------------------
|
||||||
|
Reference in New Issue
Block a user