Skip to content
This repository was archived by the owner on Sep 13, 2023. It is now read-only.

Commit f334da2

Browse files
authored
Merge pull request #45 from GispoCoding/34_mobile_fixes
34_mobile_fixes
2 parents ed7e0e5 + 95a951e commit f334da2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

public/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
<meta charset="utf-8" />
55
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
7-
<meta name="theme-color" content="#000000" />
7+
<meta name="theme-color" content="#006D77" />
8+
<meta name="mobile-web-app-capable" content="yes">
89
<meta name="apple-mobile-web-app-capable" content="yes">
910
<meta
1011
name="description"

public/manifest.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"short_name": "React App",
3-
"name": "Create React App Sample",
2+
"short_name": "aukiGo",
3+
"name": "aukiGo by Gispo Ltd.",
44
"icons": [
55
{
66
"src": "favicon.ico",
@@ -20,6 +20,6 @@
2020
],
2121
"start_url": ".",
2222
"display": "fullscreen",
23-
"theme_color": "#000000",
24-
"background_color": "#ffffff"
23+
"theme_color": "#006D77",
24+
"background_color": "#E8EBDD"
2525
}

src/components/mapcomponent.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ function MapComponent({ basemaps, tilesets }: MapProps) {
120120
positioning: OverlayPositioning.BOTTOM_LEFT,
121121
}));
122122
}
123+
window.scrollTo(0, 1);
123124
return () => olMap?.setTarget(undefined);
124125
}, [olMap]);
125126

0 commit comments

Comments
 (0)