From f54012abe5f15e3a4783aca50665ad88c08ec294 Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Sun, 24 Nov 2024 15:36:31 -0800 Subject: [PATCH 1/2] Fit and Finish: Adds a blank footer to the ModalPane This empty footer shows a user that the content in the pane hasn't been cut off. --- src/components/navigation/ModalPane.svelte | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/navigation/ModalPane.svelte b/src/components/navigation/ModalPane.svelte index 82bbacf..27a9677 100644 --- a/src/components/navigation/ModalPane.svelte +++ b/src/components/navigation/ModalPane.svelte @@ -40,6 +40,10 @@
+
+ +   +
From 21f914ff1aacca1192f7f3e151e8e8252d477da2 Mon Sep 17 00:00:00 2001 From: Aaron Brethorst Date: Sun, 24 Nov 2024 15:38:03 -0800 Subject: [PATCH 2/2] Fit and Finish: TripDetailsPane * Add some spacing between the stop name and time * Prevent the time from ever wrapping * Replace some custom Tailwind classes with built-in near equivalents --- src/components/oba/TripDetailsPane.svelte | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/oba/TripDetailsPane.svelte b/src/components/oba/TripDetailsPane.svelte index 267c139..7703c69 100644 --- a/src/components/oba/TripDetailsPane.svelte +++ b/src/components/oba/TripDetailsPane.svelte @@ -108,11 +108,13 @@ /> {/if} -
-
+
+
{stopInfo[tripStop.stopId] ? stopInfo[tripStop.stopId].name : tripStop.stopId}
-
{convertUnixToTime(tripStop.arrivalTime)}
+
+ {convertUnixToTime(tripStop.arrivalTime)} +
{/each}