瀏覽代碼

Change default viewport to 16:9

Gaël Métais 10 年之前
父節點
當前提交
e9259356bd
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 1
      front/src/css/dashboard.css
  2. 1 1
      front/src/less/dashboard.less
  3. 1 0
      lib/tools/phantomas/phantomasWrapper.js

+ 1 - 1
front/src/css/dashboard.css

@@ -44,7 +44,7 @@
   border-radius: 0.2em;
   text-align: center;
   content: "+";
-  opacity: 0.6;
+  opacity: 0.85;
 }
 .summary .notations {
   display: table;

+ 1 - 1
front/src/less/dashboard.less

@@ -48,7 +48,7 @@
             border-radius: 0.2em;
             text-align: center;
             content: "+";
-            opacity: 0.6;
+            opacity: 0.85;
         }
     }
 }

+ 1 - 0
lib/tools/phantomas/phantomasWrapper.js

@@ -29,6 +29,7 @@ var PhantomasWrapper = function() {
             'js-deep-analysis': task.options.jsDeepAnalysis || false,
             'user-agent': 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36',
             'screenshot': task.options.screenshot || false,
+            'viewport': '1366x768',
 
             // Mandatory
             'reporter': 'json:pretty',