Skip to content

Commit c1d81a0

Browse files
committed
🐛 bug: Resolve mobile viewport issues with meta tag
1 parent 843b41c commit c1d81a0

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

public/index.html

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
<!DOCTYPE html>
2+
23
<html lang="en">
34
<head>
45
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
8+
<title>Git Graph</title>
9+
10+
<link
11+
rel="shortcut icon"
12+
href="%PUBLIC_URL%/favicon.ico"
13+
type="image/x-icon"
14+
/>
15+
516
<meta
617
name="keywords"
718
content="git graph, git, graph, internals, git_internals, git_basics"
@@ -17,6 +28,7 @@
1728
/>
1829
<meta
1930
property="og:image"
31+
itemprop="image"
2032
content="https://harshkapadia2.github.io/git-graph/icon-512x512.png"
2133
/>
2234
<meta property="og:image:width" content="512" />
@@ -25,14 +37,6 @@
2537
property="twitter:image"
2638
content="https://harshkapadia2.github.io/git-graph/icon-512x512.png"
2739
/>
28-
29-
<link
30-
rel="shortcut icon"
31-
href="%PUBLIC_URL%/favicon.ico"
32-
type="image/x-icon"
33-
/>
34-
35-
<title>Git Graph</title>
3640
</head>
3741

3842
<body></body>

src/components/App/App.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ footer {
7373
align-items: center;
7474
padding: 1em 0;
7575
margin: 0 0.5em;
76+
flex-wrap: wrap;
7677
}
7778

7879
a,

0 commit comments

Comments
 (0)