Skip to content

Commit 05ac2de

Browse files
authored
Merge pull request #13529 from guardian/doml/sublinks-line
Show horizontal line on all sublinks
2 parents 53d0582 + a4eb6b6 commit 05ac2de

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

dotcom-rendering/src/components/SupportingContent.tsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,7 @@ const sublinkBaseStyles = css`
9292
`;
9393

9494
const verticalSublinkStyles = css`
95-
:not(:first-child) {
96-
${horizontalLineStyle}
97-
}
95+
${horizontalLineStyle}
9896
9997
${from.tablet} {
10098
:first-child {
@@ -106,9 +104,7 @@ const verticalSublinkStyles = css`
106104
const horizontalSublinkStyles = (totalColumns: number) => css`
107105
grid-column: span ${totalColumns};
108106
${until.tablet} {
109-
:not(:first-child) {
110-
${horizontalLineStyle}
111-
}
107+
${horizontalLineStyle}
112108
}
113109
114110
${from.tablet} {

0 commit comments

Comments
 (0)