diff --git a/public/locales/en.json b/public/locales/en.json index 0cd8da3084..97d63a5073 100644 --- a/public/locales/en.json +++ b/public/locales/en.json @@ -885,12 +885,21 @@ "noMembers": "No Members to show" }, "postCard": { + "edit": "Edit", + "delete": "Delete", "likes": "Likes", "comments": "Comments" }, "home": { + "posts": "Posts", + "post": "Post", + "title": "Title", + "textArea": "Something on your mind?", "feed": "Feed", - "pinnedPosts": "View Pinned Posts", + "loading": "Loading", + "pinnedPosts": "Pinned Posts", + "yourFeed": "Your Feed", + "nothingToShowHere": "Nothing to show here", "somethingOnYourMind": "Something on your mind?", "addPost": "Add Post", "startPost": "Start a post", diff --git a/src/components/UserPortal/CommentCard/CommentCard.module.css b/src/components/UserPortal/CommentCard/CommentCard.module.css index 1124f6369d..b765d60bbd 100644 --- a/src/components/UserPortal/CommentCard/CommentCard.module.css +++ b/src/components/UserPortal/CommentCard/CommentCard.module.css @@ -1,13 +1,11 @@ .mainContainer { - width: 100%; - display: flex; - flex-direction: row; - padding: 10px; + width: auto; + overflow: hidden; background-color: white; + margin-top: 1rem; + padding: 0.5rem; + border: 1px solid #dddddd; border-radius: 10px; - box-shadow: 2px 2px 8px 0px #c8c8c8; - overflow: hidden; - margin-top: 10px; } .personDetails { diff --git a/src/components/UserPortal/CommentCard/CommentCard.tsx b/src/components/UserPortal/CommentCard/CommentCard.tsx index 955f136cb5..57cc6a1cf4 100644 --- a/src/components/UserPortal/CommentCard/CommentCard.tsx +++ b/src/components/UserPortal/CommentCard/CommentCard.tsx @@ -8,6 +8,7 @@ import { toast } from 'react-toastify'; import HourglassBottomIcon from '@mui/icons-material/HourglassBottom'; import ThumbUpOffAltIcon from '@mui/icons-material/ThumbUpOffAlt'; import useLocalStorage from 'utils/useLocalstorage'; +import AccountCircleIcon from '@mui/icons-material/AccountCircle'; interface InterfaceCommentCardProps { id: string; @@ -80,7 +81,10 @@ function commentCard(props: InterfaceCommentCardProps): JSX.Element { return (