From f9ca375853ad0a3e4de26ee051a8fd8e236bf920 Mon Sep 17 00:00:00 2001 From: ayesha waris <73840786+ayeshoali@users.noreply.github.com> Date: Thu, 9 Feb 2023 16:08:22 +0500 Subject: [PATCH] style: in-context discussions style updates (#426) * style: change size of postactionbar in incontext discussions * style: change postfilterbar text color and style * style: change side bar icon sizes accoording to figma * style: change margin for post aacording to figmaa * style: change add a post style aaccording to figma * refactor: remove unnecessary spaces * refactor: use lineheight24 aand fontstyle class --------- Co-authored-by: Mehak Nasir <67791278+mehaknasir@users.noreply.github.com> --- src/components/PostPreviewPane.jsx | 5 +- src/discussions/comments/CommentsView.jsx | 24 +++------- src/discussions/comments/comment/Comment.jsx | 11 ++--- src/discussions/comments/comment/Reply.jsx | 4 +- src/discussions/common/AlertBanner.jsx | 8 ++-- src/discussions/common/AuthorLabel.jsx | 6 +-- src/discussions/common/HoverCard.jsx | 2 +- .../discussions-home/DiscussionsHome.jsx | 4 +- src/discussions/learners/LearnerPostsView.jsx | 2 +- .../learners/learner/LearnerCard.jsx | 2 +- .../posts/post-actions-bar/PostActionsBar.jsx | 26 +++++----- .../posts/post-editor/PostEditor.jsx | 40 ++++++++-------- .../posts/post-filter-bar/PostFilterBar.jsx | 3 +- src/discussions/posts/post/LikeButton.jsx | 2 +- src/discussions/posts/post/Post.jsx | 4 +- src/discussions/posts/post/PostHeader.jsx | 12 ++++- src/discussions/posts/post/PostLink.jsx | 17 +++---- .../posts/post/PostSummaryFooter.jsx | 47 +++++-------------- src/index.scss | 41 +++++++++++++++- 19 files changed, 136 insertions(+), 124 deletions(-) diff --git a/src/components/PostPreviewPane.jsx b/src/components/PostPreviewPane.jsx index 5126e65d..dba69d84 100644 --- a/src/components/PostPreviewPane.jsx +++ b/src/components/PostPreviewPane.jsx @@ -33,13 +33,12 @@ function PostPreviewPane({ )}