From 5f7c2f07b8dced8e1cba304b9a5c1ac40abf16bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Thu, 26 Nov 2015 18:44:12 +0100 Subject: [PATCH] Adjust new cssMobileFirst rule --- lib/metadata/policies.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index e0d355d..514318a 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -547,10 +547,10 @@ var policies = { "cssMobileFirst": { "tool": "mediaQueriesChecker", "label": "Not mobile-first media queries", - "message": "

This is the number of media queries that address small screens.

The common good practice, when creating a responsive website, is to write it \"mobile-first\". More explanation in this great article.

", + "message": "

This is the number of CSS rules inside media queries that address small screens.

The common good practice, when creating a responsive website, is to write it \"mobile-first\". More explanation in this great article.

", "isOkThreshold": 25, "isBadThreshold": 200, - "isAbnormalThreshold": 600, + "isAbnormalThreshold": 1000, "hasOffenders": true, "offendersTransformFn": function(offenders) { return {