Skip to content

Commit

Permalink
fixup! feat(Itinerary): migrate to Tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
DSil committed Mar 8, 2024
1 parent 9d8fe15 commit d3fba6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export const Stop = () => {
<ItinerarySegmentBanner>
<ItineraryBadgeList>
<ItineraryBadgeListItem type="warning" icon={<StarFull color="warning" />}>
<Text as="span" type="warning">
<Text as="span" type="warning" weight="bold" size="small">
Hidden city hack:{" "}
</Text>{" "}
This itinerary finishes in New York (United States), but you’ll get off during
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const ItinerarySegmentStopIcon = ({ type, children }: Props) => {
return (
<div
className={cx(
"flex justify-center",
"z-default flex justify-center",
"[&_svg]:overflow-hidden",
last || index === 0 ? "[&_svg]:bg-transparent" : "[&_svg]:bg-white-normal",
index > 0 &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const ItinerarySegmentDetail = ({
<Text size="small">{name}</Text>
</Truncate>
<Truncate>
<ItineraryText as="div" size="small" weight="medium" align="right">
<ItineraryText as="div" size="small" weight="medium" align="end">
{value}
</ItineraryText>
</Truncate>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ItineraryText = ({
type = TYPE_OPTIONS.PRIMARY,
size = SIZE_OPTIONS.NORMAL,
weight = WEIGHT_OPTIONS.NORMAL,
align = ALIGN_OPTIONS.LEFT,
align = ALIGN_OPTIONS.START,
as: Component = ELEMENT_OPTIONS.P,
uppercase,
italic,
Expand Down

0 comments on commit d3fba6a

Please sign in to comment.