Explorar o código

Adjust new cssMobileFirst rule

Gaël Métais %!s(int64=9) %!d(string=hai) anos
pai
achega
5f7c2f07b8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/metadata/policies.js

+ 2 - 2
lib/metadata/policies.js

@@ -547,10 +547,10 @@ var policies = {
     "cssMobileFirst": {
         "tool": "mediaQueriesChecker",
         "label": "Not mobile-first media queries",
-        "message": "<p>This is the number of media queries that address small screens.</p><p>The common good practice, when creating a responsive website, is to write it \"mobile-first\". More explanation in <a href=\"http://www.sitepoint.com/introduction-mobile-first-media-queries\" target=\"_blank\">this great article</a>.</p>",
+        "message": "<p>This is the number of CSS rules inside media queries that address small screens.</p><p>The common good practice, when creating a responsive website, is to write it \"mobile-first\". More explanation in <a href=\"http://www.sitepoint.com/introduction-mobile-first-media-queries\" target=\"_blank\">this great article</a>.</p>",
         "isOkThreshold": 25,
         "isBadThreshold": 200,
-        "isAbnormalThreshold": 600,
+        "isAbnormalThreshold": 1000,
         "hasOffenders": true,
         "offendersTransformFn": function(offenders) {
             return {