Skip to content

Commit

Permalink
fix: update styling for percy tests
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-willis-arcadis committed Jul 31, 2024
1 parent a73b95a commit f102d29
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/components/narrative/narrative-itineraries-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ const ItinerariesHeaderContainer = styled.div<{ showHeaderText: boolean }>`
const SortResultsDropdown = styled(Dropdown)`
button {
border: none;
padding: 3px 7px;
line-height: 20px;
}
span.caret {
margin-left: 2px;
}
`

Expand Down
12 changes: 11 additions & 1 deletion lib/components/viewers/route-details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,21 @@ const PatternSelectButton = styled(UnstyledButton)`
`

const PatternSelectDropdown = styled(Dropdown)`
float: right;
button {
padding: 3px 7px;
line-height: 20px;
}
span,
span.caret {
color: #333;
}
span.caret {
margin-left: 2px;
}
`

interface Props {
Expand Down Expand Up @@ -157,7 +168,6 @@ class RouteDetails extends Component<Props> {
<FormattedMessage id="components.RouteDetails.stopsTo" />
</HeadsignSelectLabel>
<PatternSelectDropdown
alignMenuLeft
id="headsign-selector"
label={patternSelectLabel}
style={{ color: 'black' }}
Expand Down

0 comments on commit f102d29

Please sign in to comment.