Skip to content

Commit

Permalink
fix(forum post qn): fix view forum and topic buttons location
Browse files Browse the repository at this point in the history
  • Loading branch information
ekowidianto committed Mar 28, 2022
1 parent bd52e91 commit 808e64c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const styles = {
padding: '8px 16px',
},
AccordionActions: {
justifyContent: 'flex-start',
padding: 16,
},
container: {
Expand Down Expand Up @@ -122,7 +123,6 @@ export default class ForumCard extends Component {
forumTopicPostPack.course.id,
forumTopicPostPack.forum.id,
)}
style={{ marginBottom: 16 }}
target="_blank"
>
<FormattedMessage {...translations.viewForumInNewTab} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const styles = {
padding: '8px 16px',
},
AccordionActions: {
justifyContent: 'flex-start',
padding: 16,
},
container: {
Expand Down Expand Up @@ -114,7 +115,6 @@ export default class TopicCard extends Component {
<Icon className="fa fa-external-link" style={styles.icon} />
}
href={getForumTopicURL(courseId, forumId, topicPostPack.topic.ic)}
style={{ marginBottom: 16 }}
target="_blank"
>
<FormattedMessage {...translations.viewTopicInNewTab} />
Expand Down

0 comments on commit 808e64c

Please sign in to comment.