许静 5 år sedan
förälder
incheckning
1e2eaf6248
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      src/app.js

+ 2
- 2
src/app.js Visa fil

4
     recalc = function () {
4
     recalc = function () {
5
       var clientWidth = docEl.clientWidth;
5
       var clientWidth = docEl.clientWidth;
6
       if (!clientWidth) return;
6
       if (!clientWidth) return;
7
-      if (clientWidth < 1100) {
7
+      if (clientWidth < 1200) {
8
         docEl.style.fontSize = '100px';
8
         docEl.style.fontSize = '100px';
9
       } else {
9
       } else {
10
-        docEl.style.fontSize = 100 * (clientWidth / 1100) + 'px';
10
+        docEl.style.fontSize = 100 * (clientWidth / 1200) + 'px';
11
       }
11
       }
12
     };
12
     };
13
 
13