diff --git a/src/components/Article/Article.module.scss b/src/components/Article/Article.module.scss index 6705a228..9f632f7a 100644 --- a/src/components/Article/Article.module.scss +++ b/src/components/Article/Article.module.scss @@ -143,7 +143,6 @@ img { } .shoutStatsItem { - cursor: pointer; @include font-size(1.5rem); font-weight: 500; display: inline-block; @@ -180,6 +179,7 @@ img { } .shoutStatsItemInner { + cursor: pointer; margin: -0.3em -0.3em 0; padding: 0.3em; @@ -315,6 +315,11 @@ img { margin-top: 0; } +.commentsViewSwitcherButton { + padding-left: 0 !important; + padding-right: 0 !important; +} + .help { border-bottom: 1px solid #e8e8e8; margin-bottom: 1.6rem; diff --git a/src/components/Article/CommentsTree.tsx b/src/components/Article/CommentsTree.tsx index c372e95b..f5e6e1be 100644 --- a/src/components/Article/CommentsTree.tsx +++ b/src/components/Article/CommentsTree.tsx @@ -126,6 +126,7 @@ export const CommentsTree = (props: Props) => { onClick={() => { setCommentsOrder('newOnly') }} + className={styles.commentsViewSwitcherButton} /> @@ -136,6 +137,7 @@ export const CommentsTree = (props: Props) => { onClick={() => { setCommentsOrder('createdAt') }} + className={styles.commentsViewSwitcherButton} />