Skip to content

Commit 4e0239b

Browse files
committed
fixing UI issue for locate me feature
1 parent 961f5b0 commit 4e0239b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/search/locateme.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#map {
1919
width: 100%;
20-
height: 500px;
20+
height: 600px;
2121
border: 2px solid white;
2222
border-radius: 10px;
2323
}
@@ -29,7 +29,7 @@
2929
</style>
3030

3131
<div class="container">
32-
<h1 style="text-align: center;">Find Your Current Location</h1>
32+
<h1 style="text-align: center;">Check where you are!!</h1>
3333

3434
<!-- Map Section -->
3535
<div class="map-container">
@@ -66,14 +66,14 @@ <h1 style="text-align: center;">Find Your Current Location</h1>
6666
// Display error message if geolocation fails
6767
const errorDiv = document.getElementById("error");
6868
errorDiv.style.display = "block";
69-
errorDiv.innerText = "Unable to fetch your location. Please allow location access in your browser.";
69+
errorDiv.innerText = "Unable to fetch your location. Please allow location access to us in your browser.";
7070
}
7171
);
7272
} else {
7373
// If geolocation is not supported
7474
const errorDiv = document.getElementById("error");
7575
errorDiv.style.display = "block";
76-
errorDiv.innerText = "Geolocation is not supported by your browser.";
76+
errorDiv.innerText = "Sorry! Geolocation is not supported by your browser.";
7777
}
7878
}
7979

0 commit comments

Comments
 (0)