hynky HF staff commited on
Commit
b13f98f
1 Parent(s): 143296e
Files changed (3) hide show
  1. app/src/index.html +1 -1
  2. app/src/style.css +14 -0
  3. app/webpack.config.js +5 -0
app/src/index.html CHANGED
@@ -3,7 +3,7 @@
3
  <head>
4
  <script src="distill.bundle.js" type="module" fetchpriority="high" blocking></script>
5
  <script src="main.bundle.js" type="module" fetchpriority="low" defer></script>
6
- <meta name="viewport" content="width=device-width, initial-scale=1">
7
  <meta charset="utf8">
8
  <base target="_blank">
9
  <title>Scaling FineWeb to 1000+ languages: Step 1: finding signal in 100s of evaluation tasks</title>
 
3
  <head>
4
  <script src="distill.bundle.js" type="module" fetchpriority="high" blocking></script>
5
  <script src="main.bundle.js" type="module" fetchpriority="low" defer></script>
6
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7
  <meta charset="utf8">
8
  <base target="_blank">
9
  <title>Scaling FineWeb to 1000+ languages: Step 1: finding signal in 100s of evaluation tasks</title>
app/src/style.css CHANGED
@@ -364,3 +364,17 @@ d-contents nav > ul > li > a:hover {
364
  width: 100%; /* Ensure the figcaption takes full width */
365
  display: block; /* Make it a block element */
366
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
364
  width: 100%; /* Ensure the figcaption takes full width */
365
  display: block; /* Make it a block element */
366
  }
367
+
368
+ html, body {
369
+ height: 100%;
370
+ overflow-y: auto;
371
+ -webkit-overflow-scrolling: touch; /* for smoother scrolling on iOS */
372
+ }
373
+
374
+ .main-container {
375
+ -webkit-overflow-scrolling: touch;
376
+ }
377
+
378
+ body {
379
+ -webkit-text-size-adjust: 100%;
380
+ }
app/webpack.config.js CHANGED
@@ -99,6 +99,11 @@ module.exports = {
99
  open: process.env.NODE_ENV !== 'production',
100
  hot: process.env.NODE_ENV !== 'production',
101
  liveReload: process.env.NODE_ENV !== 'production',
 
 
 
 
 
102
  },
103
  mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
104
  };
 
99
  open: process.env.NODE_ENV !== 'production',
100
  hot: process.env.NODE_ENV !== 'production',
101
  liveReload: process.env.NODE_ENV !== 'production',
102
+ headers: {
103
+ "Access-Control-Allow-Origin": "*",
104
+ "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, PATCH, OPTIONS",
105
+ "Access-Control-Allow-Headers": "X-Requested-With, content-type, Authorization"
106
+ }
107
  },
108
  mode: process.env.NODE_ENV === 'production' ? 'production' : 'development',
109
  };