Skip to content

Commit

Permalink
Merge pull request #49 from OneBusAway/ui-enhancement
Browse files Browse the repository at this point in the history
Added some UI Enhancements
  • Loading branch information
aaronbrethorst authored Sep 10, 2024
2 parents f3a5b19 + 864068f commit f93d68d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/map/RouteMap.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
infoWindow?.close();
infoWindow = new google.maps.InfoWindow({
content: `<div>
<h3 class='h3'>${stop.name}</h3>
<p>Arrival time: ${new Date(stopTime.arrivalTime * 1000).toLocaleTimeString()}</p>
content: `<div class="my-1">
<h3 class='dark:text-black h3 font-semibold text-black'>${stop.name}</h3>
<p><span class="bg-[#8250DF] text-white py-[2px] px-[2px] rounded-md">Arrival time:</span> ${new Date(stopTime.arrivalTime * 1000).toLocaleTimeString()}</p>
</div>`
});
infoWindow.open(map, marker);
Expand Down

0 comments on commit f93d68d

Please sign in to comment.