Improve style pt. 1

This commit is contained in:
riggraz
2019-09-19 16:42:43 +02:00
parent 2b1fc213db
commit 409cdeef8a
19 changed files with 157 additions and 62 deletions

View File

@@ -5,10 +5,7 @@ interface Props {
}
const CommentsNumber = ({ number }: Props) => (
<div className="d-flex">
<span className="comment icon"></span>
<span>{`${number} comment${number === 1 ? '' : 's'}`}</span>
</div>
<span className="badge badgeLight">{`${number} comment${number === 1 ? '' : 's'}`}</span>
);
export default CommentsNumber;