Refactor CSS pt. 3 (semantically @extend Bootstrap)

This commit is contained in:
riggraz
2019-09-16 12:22:30 +02:00
parent 8d297a897e
commit 41795ce963
16 changed files with 199 additions and 70 deletions

View File

@@ -15,11 +15,11 @@ interface Props {
const PostListItem = ({ id, title, description, postStatus}: Props) => (
<a href={`/posts/${id}`} className="postLink">
<div className="postListItem d-flex flex-column justify-content-between m-0 px-2 py-1">
<div className="postListItem">
<TitleText>{title}</TitleText>
<DescriptionText limit={120}>{description}</DescriptionText>
<div className="postDetails d-flex justify-content-between text-uppercase">
<div className="postDetails">
<CommentsNumber number={0} />
{ postStatus ? <PostStatusLabel {...postStatus} /> : null }
</div>