Skip to content

Commit 77ef83d

Browse files
authored
Merge pull request #16189 from guardian/update-icon-for-view-more-comments
update view more comments icon and Show more replies icon
2 parents c56627a + 3fae204 commit 77ef83d

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

dotcom-rendering/src/components/Discussion.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { css } from '@emotion/react';
22
import { isUndefined, storage } from '@guardian/libs';
33
import { space } from '@guardian/source/foundations';
4-
import { SvgPlus } from '@guardian/source/react-components';
4+
import { SvgChevronDownSingle } from '@guardian/source/react-components';
55
import { useEffect, useReducer } from 'react';
66
import { assertUnreachable } from '../lib/assert-unreachable';
77
import type {
@@ -536,7 +536,7 @@ export const Discussion = ({
536536
onClick={() => {
537537
dispatch({ type: 'expandComments' });
538538
}}
539-
icon={<SvgPlus />}
539+
icon={<SvgChevronDownSingle />}
540540
linkName="view-more-comments"
541541
>
542542
View more comments

dotcom-rendering/src/components/Discussion/CommentContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { css } from '@emotion/react';
22
import { space } from '@guardian/source/foundations';
3-
import { SvgPlus } from '@guardian/source/react-components';
3+
import { SvgChevronDownSingle } from '@guardian/source/react-components';
44
import { useState } from 'react';
55
import type {
66
CommentType,
@@ -199,7 +199,7 @@ export const CommentContainer = ({
199199
>
200200
<PillarButton
201201
priority="secondary"
202-
icon={<SvgPlus />}
202+
icon={<SvgChevronDownSingle />}
203203
iconSide="left"
204204
linkName="Show more replies"
205205
onClick={() => expand(comment.id)}

dotcom-rendering/src/components/PinnedPost.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import {
1212
visuallyHidden,
1313
} from '@guardian/source/foundations';
1414
import {
15-
SvgMinus,
15+
SvgChevronDownSingle,
16+
SvgChevronUpSingle,
1617
SvgPinned,
17-
SvgPlus,
1818
} from '@guardian/source/react-components';
1919
import { palette } from '../palette';
2020
import type { Block } from '../types/blocks';
@@ -36,12 +36,12 @@ const pinnedPostContainer = css`
3636
margin-bottom: ${space[1]}px;
3737
}
3838
#pinned-post-checkbox:checked ~ #pinned-post-overlay,
39-
#pinned-post-checkbox ~ label #svgminus,
40-
#pinned-post-checkbox:checked ~ label #svgplus {
39+
#pinned-post-checkbox ~ label #svgchevronupsingle,
40+
#pinned-post-checkbox:checked ~ label #svgchevrondownsingle {
4141
display: none;
4242
}
43-
#pinned-post-checkbox ~ label #svgplus,
44-
#pinned-post-checkbox:checked ~ label #svgminus {
43+
#pinned-post-checkbox ~ label #svgchevrondownsingle,
44+
#pinned-post-checkbox:checked ~ label #svgchevronupsingle {
4545
display: block;
4646
}
4747
#pinned-post-checkbox ~ label::after {
@@ -188,11 +188,11 @@ export const PinnedPost = ({ pinnedPost, children, serverTime }: Props) => {
188188
id="pinned-post-button"
189189
>
190190
<>
191-
<span id="svgminus" css={buttonIcon}>
192-
<SvgMinus />
191+
<span id="svgchevronupsingle" css={buttonIcon}>
192+
<SvgChevronUpSingle />
193193
</span>
194-
<span id="svgplus" css={buttonIcon}>
195-
<SvgPlus />
194+
<span id="svgchevrondownsingle" css={buttonIcon}>
195+
<SvgChevronDownSingle />
196196
</span>
197197
</>
198198
</label>

0 commit comments

Comments
 (0)