Skip to content

Commit

Permalink
fix(route-details): override color inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-willis-arcadis committed Jul 24, 2024
1 parent fe6746d commit bf9d769
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions lib/components/viewers/route-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ const PatternSelectButton = styled(UnstyledButton)`
}
`

const PatternSelectDropdown = styled(Dropdown)`
span,
span.caret {
color: #333;
}
`

interface Props {
intl: IntlShape
operator: TransitOperator
Expand Down Expand Up @@ -149,7 +156,7 @@ class RouteDetails extends Component<Props> {
<HeadsignSelectLabel htmlFor="headsign-selector-label">
<FormattedMessage id="components.RouteDetails.stopsTo" />
</HeadsignSelectLabel>
<Dropdown
<PatternSelectDropdown
alignMenuLeft
id="headsign-selector"
label={patternSelectLabel}
Expand All @@ -166,7 +173,7 @@ class RouteDetails extends Component<Props> {
</PatternSelectButton>
</li>
))}
</Dropdown>
</PatternSelectDropdown>
</PatternContainer>
)}
{pattern && (
Expand Down

0 comments on commit bf9d769

Please sign in to comment.