Skip to content

Commit ff23a12

Browse files
committed
Add quadrule and border bottom in galleries submeta
1 parent 7fd5b7c commit ff23a12

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

dotcom-rendering/src/components/SubMeta.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ const listWrapper = (design: ArticleDesign): SerializedStyles => {
8888
${grid.column.centre}
8989
padding-bottom: 0.75rem;
9090
margin-bottom: 6px;
91+
border-bottom: 1px solid ${palette('--article-border')};
9192
`;
9293
}
9394

dotcom-rendering/src/layouts/GalleryLayout.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
space,
77
} from '@guardian/source/foundations';
88
import { Hide } from '@guardian/source/react-components';
9+
import { StraightLines } from '@guardian/source-development-kitchen/react-components';
910
import { Fragment } from 'react';
1011
import { AdPlaceholder } from '../components/AdPlaceholder.apps';
1112
import { AdPortals } from '../components/AdPortals.importable';
@@ -281,6 +282,15 @@ export const GalleryLayout = (props: WebProps | AppProps) => {
281282
);
282283
})}
283284

285+
<StraightLines
286+
data-print-layout="hide"
287+
count={4}
288+
cssOverrides={css`
289+
display: block;
290+
`}
291+
color={palette('--straight-lines')}
292+
/>
293+
284294
<SubMeta
285295
format={format}
286296
subMetaKeywordLinks={frontendData.subMetaKeywordLinks}

0 commit comments

Comments
 (0)