Skip to content

Commit

Permalink
post show meta added
Browse files Browse the repository at this point in the history
  • Loading branch information
msk4862 committed Sep 28, 2020
1 parent 107abd3 commit b311be0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/src/pages/PostShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const BlogShow = (props) => {
post: {
postId,
title,
bodyMeta,
body,
createdAt,
userImage,
Expand All @@ -51,8 +52,9 @@ const BlogShow = (props) => {
{!loading && (
<div className="post-show">
<div className="row justify-content-center">
<div className="col-12 blog-body">
<div className="col-12 post-body">
<h1 className="post-title">{title}</h1>
<h5 className="mt-3">{bodyMeta}</h5>
<div className="post-meta">
<UserTile
userImage={userImage}
Expand Down
5 changes: 5 additions & 0 deletions frontend/src/styles/Posts/PostShow.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.post-body h5 {
color: var(--font-gray-color);
font-weight: 350;
}

.post-show .post-footer span {
cursor: pointer;
}
Expand Down

0 comments on commit b311be0

Please sign in to comment.