Update index.html
Browse files- index.html +10 -3
index.html
CHANGED
@@ -22,12 +22,17 @@
|
|
22 |
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
23 |
overflow-x: auto;
|
24 |
}
|
|
|
|
|
|
|
25 |
|
26 |
table {
|
27 |
width: 100%;
|
28 |
-
border-collapse: separate;
|
|
|
29 |
border-spacing: 0 10px;
|
30 |
-
table-layout: fixed;
|
|
|
31 |
word-wrap: break-word;
|
32 |
}
|
33 |
|
@@ -37,6 +42,7 @@
|
|
37 |
border-bottom: 1px solid #ddd;
|
38 |
vertical-align: top;
|
39 |
word-break: break-word;
|
|
|
40 |
}
|
41 |
/* Fix first column width */
|
42 |
table td:first-child,
|
@@ -258,7 +264,7 @@
|
|
258 |
<option value="50" selected>50</option>
|
259 |
<option value="100">100</option>
|
260 |
</select>
|
261 |
-
|
262 |
<table style="width:100%; border-collapse: separate; border-spacing: 0 10px;">
|
263 |
<thead>
|
264 |
<tr>
|
@@ -304,6 +310,7 @@
|
|
304 |
</tr>
|
305 |
</tbody>
|
306 |
</table>
|
|
|
307 |
</div>
|
308 |
|
309 |
<!-- Section 2 -->
|
|
|
22 |
box-shadow: 0 4px 20px rgba(0,0,0,0.05);
|
23 |
overflow-x: auto;
|
24 |
}
|
25 |
+
.table-container {
|
26 |
+
overflow-x: auto;
|
27 |
+
-webkit-overflow-scrolling: touch;
|
28 |
|
29 |
table {
|
30 |
width: 100%;
|
31 |
+
/* border-collapse: separate; */
|
32 |
+
border-collapse: collapse;
|
33 |
border-spacing: 0 10px;
|
34 |
+
/* table-layout: fixed; */
|
35 |
+
table-layout: auto;
|
36 |
word-wrap: break-word;
|
37 |
}
|
38 |
|
|
|
42 |
border-bottom: 1px solid #ddd;
|
43 |
vertical-align: top;
|
44 |
word-break: break-word;
|
45 |
+
overflow-wrap: break-word;
|
46 |
}
|
47 |
/* Fix first column width */
|
48 |
table td:first-child,
|
|
|
264 |
<option value="50" selected>50</option>
|
265 |
<option value="100">100</option>
|
266 |
</select>
|
267 |
+
<div class="table-container">
|
268 |
<table style="width:100%; border-collapse: separate; border-spacing: 0 10px;">
|
269 |
<thead>
|
270 |
<tr>
|
|
|
310 |
</tr>
|
311 |
</tbody>
|
312 |
</table>
|
313 |
+
</div>
|
314 |
</div>
|
315 |
|
316 |
<!-- Section 2 -->
|