Skip to content

Commit cbbd073

Browse files
fix: update activeClasses for TabItem components in SearchPane
1 parent ffb5cac commit cbbd073

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/search/SearchPane.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123

124124
<div class={`modal-pane flex flex-col justify-between md:w-96 ${cssClasses}`}>
125125
<Tabs tabStyle="underline" contentClass="pt-2 pb-4 bg-gray-50 rounded-lg dark:bg-black">
126-
<TabItem activeClasses="text-brand border-b-2 border-brand p-[16px]" open title={$t('tabs.stops-and-stations')} on:click={handleTabSwitch}>
126+
<TabItem activeClasses="tab-container__item--active p-4" open title={$t('tabs.stops-and-stations')} on:click={handleTabSwitch}>
127127
<SearchField value={query} {handleSearchResults} />
128128

129129
{#if query}
@@ -182,7 +182,7 @@
182182
</TabItem>
183183

184184
{#if env.PUBLIC_OTP_SERVER_URL}
185-
<TabItem activeClasses="text-brand border-b-2 border-brand p-[16px]" title={$t('tabs.plan_trip')} on:click={handlePlanTripTabClick} disabled={!mapLoaded}>
185+
<TabItem activeClasses="tab-container__item--active p-4" title={$t('tabs.plan_trip')} on:click={handlePlanTripTabClick} disabled={!mapLoaded}>
186186
<TripPlan {mapProvider} {handleTripPlan} />
187187
</TabItem>
188188
{/if}

0 commit comments

Comments
 (0)