Skip to content

Commit fdad651

Browse files
committed
mobile responsive
1 parent 1e75c2c commit fdad651

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

public/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
4+
<meta name="viewport" content="width=device-width, maximum-scale=1.5" >
5+
56

67
<meta charset="utf-8" />
78
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />

src/App.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
11

2+
body {
3+
display: flex;
4+
overflow-x: auto;
5+
white-space: nowrap;
6+
padding: 10px;
7+
}
8+
th {
9+
text-align: center;
10+
border: 1px solid black;
11+
background: #018ded;
12+
position: sticky;
13+
position: -webkit-sticky;
14+
top: 0;
15+
}

0 commit comments

Comments
 (0)