Skip to content

Commit

Permalink
refactor: css tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-corson-ibigroup committed Apr 22, 2024
1 parent c2a3353 commit 926bb2a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions lib/components/user/monitored-trip/saved-trip-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ class TripListItem extends Component<ItemProps, ItemState> {
</Link>
</TripPanelTitle>
<RouteBlockGrid>
{/* TODO: Fix issues with custom route renderer */}
<MetroItineraryRoutes
expanded={false}
itinerary={itinerary}
Expand Down
4 changes: 2 additions & 2 deletions lib/components/user/monitored-trip/trip-duration-summary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import FormattedDuration from '../../util/formatted-duration'
import InvisibleA11yLabel from '../../util/invisible-a11y-label'

const Divider = styled.span`
margin: 0 5px;
margin: 0 7px;
`

const TripSummary = ({ monitoredTrip }: MonitoredTripProps): JSX.Element => {
Expand All @@ -25,7 +25,7 @@ const TripSummary = ({ monitoredTrip }: MonitoredTripProps): JSX.Element => {
</InvisibleA11yLabel>
<FormattedTime value={endTime} />
<InvisibleA11yLabel>, </InvisibleA11yLabel>
<Divider></Divider>
<Divider></Divider>
<span aria-hidden>
<FormattedDuration duration={duration} />
</span>
Expand Down
8 changes: 2 additions & 6 deletions lib/components/user/monitored-trip/trip-monitored-days.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const MonitoredDayCircle = styled.span<{
}>`
align-items: center;
background-color: ${(props) =>
props.monitored ? props.baseColor : 'transparent'};
props.monitored ? props.baseColor : '#ECECEC'};
border-radius: 50%;
color: ${(props) => (props.monitored ? 'white' : 'inherit')};
display: flex;
Expand All @@ -36,12 +36,8 @@ const MonitoredDayCircle = styled.span<{
width: 3rem;
span {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
font-family: 'SF Pro Display', 'Inter', sans-serif;
margin-top: 1px;
width: 100%;
}
`

Expand Down

0 comments on commit 926bb2a

Please sign in to comment.