Skip to content

Commit

Permalink
refactor: set the z-index to zero
Browse files Browse the repository at this point in the history
aaronbrethorst committed Nov 24, 2024
1 parent 6a34f5c commit 0d304cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/oba/TripDetailsPane.svelte
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@
{#each tripDetails.schedule.stopTimes as tripStop, index}
<div class="relative mb-4 flex items-center">
<div
class="relative z-10 flex size-8 items-center justify-center rounded-md border border-neutral-400 bg-white dark:bg-neutral-800"
class="relative z-0 flex size-8 items-center justify-center rounded-md border border-neutral-400 bg-white dark:bg-neutral-800"
>
{#if index === busPosition}
<FontAwesomeIcon
@@ -108,7 +108,7 @@
/>
{/if}
</div>
<div class="ml-4 space-x-1 flex w-full items-center justify-between">
<div class="ml-4 flex w-full items-center justify-between space-x-1">
<div class="text-md font-semibold dark:text-white">
{stopInfo[tripStop.stopId] ? stopInfo[tripStop.stopId].name : tripStop.stopId}
</div>

0 comments on commit 0d304cf

Please sign in to comment.