Skip to content

Commit

Permalink
Add display Transport and Payment description on desktop (#2930)
Browse files Browse the repository at this point in the history
  • Loading branch information
tvikito authored Nov 29, 2023
2 parents dbf3986 + 063f29e commit 156591d
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ export const TransportAndPaymentSelectItemLabel: FC<TransportAndPaymentSelectIte
/>

<div className="flex flex-1 flex-col text-sm lg:flex-auto lg:basis-full lg:flex-row lg:items-center lg:gap-3">
<div data-testid={TEST_IDENTIFIER + '-name'}>{name}</div>
<div>
<div data-testid={TEST_IDENTIFIER + '-name'}>{name}</div>

{description && (
<div className="text-greyLight lg:hidden" data-testid={TEST_IDENTIFIER + '-description'}>
{description}
</div>
)}
{description && (
<div className="text-greyLight" data-testid={TEST_IDENTIFIER + '-description'}>
{description}
</div>
)}
</div>

{pickupPlaceDetail && (
<div>
Expand Down

0 comments on commit 156591d

Please sign in to comment.