Skip to content

Commit 880174c

Browse files
committed
Centralise vertical line
1 parent 7e4f10d commit 880174c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dotcom-rendering/src/components/ScrollableHighlights.importable.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,12 @@ const itemStyles = css`
8585

8686
const verticalLineStyles = css`
8787
${from.tablet} {
88-
:not(:last-child)::after {
88+
:not(:first-child)::before {
8989
content: '';
9090
position: absolute;
9191
top: 0;
9292
bottom: 0;
93-
right: -10px;
93+
left: -10px;
9494
width: 1px;
9595
background-color: ${palette('--highlights-container-separator')};
9696
transform: translateX(-50%);

0 commit comments

Comments
 (0)