Skip to content

Commit

Permalink
fix: triple-line slightly clipped
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Jun 9, 2024
1 parent 8d609bf commit 382da9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ const serviceBase = css`
}
&[data-triple-line='true'] ~ :has(&),
&[data-triple-line='true'] ~ & {
&[data-triple-line='true'] ~ &,
&[data-triple-line='true'] ~ #space-filler {
display: none;
}
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,14 +252,14 @@ export default function TrainServices({ services, worldlinePowered }: IProps) {
/>
) : (
// Spacer row
<div css={{ height: 'var(--row-height)' }} />
<div id="space-filler" css={{ height: 'var(--row-height)' }} />
)}
</>
)}
</>
) : (
// Spacer row
<div css={{ height: 'var(--row-height)' }} />
<div id="space-filler" css={{ height: 'var(--row-height)' }} />
)}
</>
);
Expand Down

0 comments on commit 382da9b

Please sign in to comment.