From 808e64c094575344fd320d14c0ba6d9f20d2ed35 Mon Sep 17 00:00:00 2001 From: Eko Widianto Date: Fri, 25 Mar 2022 15:07:18 +0800 Subject: [PATCH] fix(forum post qn): fix view forum and topic buttons location --- .../components/answers/ForumPostResponse/ForumCard.jsx | 2 +- .../components/answers/ForumPostResponse/TopicCard.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/ForumCard.jsx b/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/ForumCard.jsx index 01f63764a29..6437ca4a4b6 100644 --- a/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/ForumCard.jsx +++ b/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/ForumCard.jsx @@ -42,6 +42,7 @@ const styles = { padding: '8px 16px', }, AccordionActions: { + justifyContent: 'flex-start', padding: 16, }, container: { @@ -122,7 +123,6 @@ export default class ForumCard extends Component { forumTopicPostPack.course.id, forumTopicPostPack.forum.id, )} - style={{ marginBottom: 16 }} target="_blank" > diff --git a/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/TopicCard.jsx b/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/TopicCard.jsx index bb9e2f1b944..5758998a466 100644 --- a/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/TopicCard.jsx +++ b/client/app/bundles/course/assessment/submission/components/answers/ForumPostResponse/TopicCard.jsx @@ -43,6 +43,7 @@ const styles = { padding: '8px 16px', }, AccordionActions: { + justifyContent: 'flex-start', padding: 16, }, container: { @@ -114,7 +115,6 @@ export default class TopicCard extends Component { } href={getForumTopicURL(courseId, forumId, topicPostPack.topic.ic)} - style={{ marginBottom: 16 }} target="_blank" >