diff --git a/src/components/Article/Article.module.scss b/src/components/Article/Article.module.scss index abdd02e7..6705a228 100644 --- a/src/components/Article/Article.module.scss +++ b/src/components/Article/Article.module.scss @@ -143,8 +143,8 @@ img { } .shoutStatsItem { + cursor: pointer; @include font-size(1.5rem); - font-weight: 500; display: inline-block; margin: 0 3.2rem 1em 0; @@ -166,17 +166,32 @@ img { max-height: 1.8em; } + .shoutStatsItemInner .iconEdit { + margin-right: 0.3em; + } + img { display: block; } a { border: none; + } +} - &:hover { - .icon { - filter: invert(1); - } +.shoutStatsItemInner { + margin: -0.3em -0.3em 0; + padding: 0.3em; + + .icon { + margin-right: 0; + } + + &:hover { + background: #000; + + img { + filter: invert(1); } } } diff --git a/src/components/Article/FullArticle.tsx b/src/components/Article/FullArticle.tsx index 8d66d814..b1fe6a7d 100644 --- a/src/components/Article/FullArticle.tsx +++ b/src/components/Article/FullArticle.tsx @@ -206,8 +206,10 @@ export const FullArticle = (props: ArticleProps) => {