浏览代码

added back button to map page and auto resized map to accomodate the header

Kris Blassingame 6 年前
父节点
当前提交
2b305a622a

+ 9
- 1
frontEnd/src/components/google-map/google-map.html 查看文件

@@ -1 +1,9 @@
1
-<div #map id="map"></div>
1
+<ion-header>
2
+    <ion-navbar>
3
+        <ion-title>Map</ion-title>
4
+    </ion-navbar>
5
+</ion-header>
6
+
7
+<ion-content>
8
+    <div #map id="map"></div>
9
+</ion-content>

+ 2
- 1
frontEnd/src/components/google-map/google-map.scss 查看文件

@@ -1,5 +1,6 @@
1 1
 google-map {
2 2
     #map {
3 3
         height: 100% !important;
4
+        background-size: auto;
4 5
     }
5
-}
6
+}