From 44bcc943a0be09ea5222ababb704fcb0d06cfb7e Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Wed, 14 Oct 2020 16:42:35 -0400 Subject: [PATCH] add new sort icons for new/best/controversial --- ui/component/claimListHeader/view.jsx | 1 + ui/component/commentsList/view.jsx | 5 +- ui/component/common/icon-custom.jsx | 96 ++++++++++++++++++--------- ui/constants/icons.js | 1 + 4 files changed, 72 insertions(+), 31 deletions(-) diff --git a/ui/component/claimListHeader/view.jsx b/ui/component/claimListHeader/view.jsx index 5fe3e00bc..cf8b20925 100644 --- a/ui/component/claimListHeader/view.jsx +++ b/ui/component/claimListHeader/view.jsx @@ -221,6 +221,7 @@ function ClaimListHeader(props: Props) { })} disabled={orderBy} icon={toCapitalCase(type)} + iconSize={toCapitalCase(type) === ICONS.NEW ? 20 : undefined} label={__(toCapitalCase(type))} /> ))} diff --git a/ui/component/commentsList/view.jsx b/ui/component/commentsList/view.jsx index 35464d910..b5cc4c99b 100644 --- a/ui/component/commentsList/view.jsx +++ b/ui/component/commentsList/view.jsx @@ -161,7 +161,8 @@ function CommentList(props: Props) {