Skip to content

Commit c68cf03

Browse files
committed
update design based on feedback
1 parent a5b566c commit c68cf03

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Diff for: lib/components/viewers/nearby/stop.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,19 @@ export const fullTimestamp = (stoptime: StopTime) =>
2525
// Style for child stop headers
2626
const ChildStopHeader = styled.div`
2727
display: flex;
28+
align-items: center;
2829
flex-direction: row;
2930
justify-content: space-between;
30-
padding: 8px 16px;
31+
padding: 10px 16px;
3132
3233
.child-stop-name {
3334
font-size: 16px;
3435
font-weight: 600;
3536
}
37+
38+
&:first-of-type {
39+
border-top: 1px solid #999999;
40+
}
3641
`
3742

3843
type Props = {
@@ -157,9 +162,8 @@ const Stop = ({
157162
fromToSlot={fromToSlot}
158163
stopData={stopData}
159164
/>
165+
<div>{timezoneWarning}</div>
160166
<div>
161-
<div>{timezoneWarning}</div>
162-
163167
{/* Main stop patterns */}
164168
{!isParentStop && (
165169
<PatternRowContainer>{patternRows}</PatternRowContainer>

0 commit comments

Comments
 (0)