Skip to content

Commit

Permalink
fix: missing spacer row
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jun 9, 2024
1 parent 87f1e54 commit c7365c4
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default function TrainServices({ services, worldlinePowered }: IProps) {
</SwapBetween>
) : (
<>
{secondService && (
{secondService ? (
<TrainService
css={{
animationName: slideUpFromCurrentRow,
Expand All @@ -250,6 +250,9 @@ export default function TrainServices({ services, worldlinePowered }: IProps) {
service={secondService}
worldlinePowered={worldlinePowered}
/>
) : (
// Spacer row
<div css={{ height: 'var(--row-height)' }} />
)}
</>
)}
Expand Down

0 comments on commit c7365c4

Please sign in to comment.