Commit e79e31d 1 parent 40289b1 commit e79e31d Copy full SHA for e79e31d
File tree 2 files changed +18
-15
lines changed
routes/[evaNumber]/[type=type]
2 files changed +18
-15
lines changed Original file line number Diff line number Diff line change 98
98
</script >
99
99
100
100
<div
101
- class =" scrollbar-hidden container mx-auto flex items-center overflow-x-auto bg-primary-darker py-2 md:justify-center md:gap-x-4"
101
+ class =" scrollbar-hidden flex items-center overflow-x-auto bg-primary-darker py-2 md:justify-center md:gap-x-4"
102
102
>
103
103
{#each filteredTypes as type }
104
104
<button
Original file line number Diff line number Diff line change 46
46
}}
47
47
/>
48
48
49
- <div class =" flex flex-col items-center" >
50
49
<div class =" container mx-auto flex items-center justify-between px-4" >
51
50
<span class ="text-xl font-semibold md:px-4 md:text-4xl" >{data .station .name }</span >
52
51
<Clock />
53
52
</div >
53
+ <div class =" flex flex-col items-center pb-safe" >
54
54
55
- <Filter allowedProducts ={data .station .products ? Object .values (data .station .products ) : []} bind:selected ={currentFilter } />
55
+ <div class =" scrollbar-hidden container mx-auto overflow-y-hidden" >
56
+ {#each data .journeys as journey }
57
+ {#if ! matchesFilter (journey )}{:else }
58
+ <p >
59
+ {journey ?.connections [0 ]?.lineInformation ?.lineName }
60
+ @ {journey ?.connections [0 ]?.departure ?.plannedTime
61
+ ? DateTime .fromISO (journey ?.connections [0 ]?.departure .plannedTime ).toFormat (" HH:mm" )
62
+ : " N/A" }
63
+ </p >
64
+ {/if }
65
+ {/each }
66
+ </div >
56
67
57
- <div class =" scrollbar-hidden container mx-auto overflow-y-hidden" >
58
- {#each data .journeys as journey }
59
- {#if ! matchesFilter (journey )}{:else }
60
- <p >
61
- {journey ?.connections [0 ]?.lineInformation ?.lineName }
62
- @ {journey ?.connections [0 ]?.departure ?.plannedTime
63
- ? DateTime .fromISO (journey ?.connections [0 ]?.departure .plannedTime ).toFormat (" HH:mm" )
64
- : " N/A" }
65
- </p >
66
- {/if }
67
- {/each }
68
- </div >
68
+ <div class =" fixed bottom-0 left-0 right-0 z-50" >
69
+ <Filter allowedProducts ={data .station .products ? Object .values (data .station .products ) : []}
70
+ bind:selected ={currentFilter }/>
71
+ </div >
69
72
</div >
70
73
71
74
<style >
You can’t perform that action at this time.
0 commit comments