diff --git a/framework/core/js/forum/src/components/CommentPost.js b/framework/core/js/forum/src/components/CommentPost.js index 0a81c97e1..cc21e9b12 100644 --- a/framework/core/js/forum/src/components/CommentPost.js +++ b/framework/core/js/forum/src/components/CommentPost.js @@ -48,8 +48,7 @@ export default class CommentPost extends Post { {this.isEditing() ?
: m.trust(this.props.post.contentHtml())} -
, - + ]; } @@ -175,13 +174,4 @@ export default class CommentPost extends Post { return items; } - - /** - * Build an item list for the post's footer. - * - * @return {ItemList} - */ - footerItems() { - return new ItemList(); - } } diff --git a/framework/core/js/forum/src/components/Post.js b/framework/core/js/forum/src/components/Post.js index d91728233..8a14ab12b 100644 --- a/framework/core/js/forum/src/components/Post.js +++ b/framework/core/js/forum/src/components/Post.js @@ -62,6 +62,7 @@ export default class Post extends Component { : ''} + ); })()} @@ -95,4 +96,13 @@ export default class Post extends Component { actionItems() { return new ItemList(); } + + /** + * Build an item list for the post's footer. + * + * @return {ItemList} + */ + footerItems() { + return new ItemList(); + } } diff --git a/framework/core/less/forum/Post.less b/framework/core/less/forum/Post.less index 7d18ed3d7..d941a3764 100644 --- a/framework/core/less/forum/Post.less +++ b/framework/core/less/forum/Post.less @@ -2,7 +2,7 @@ // Posts .Post { - padding: 20px 20px 25px; + padding: 20px; margin: -1px -20px; transition: 0.2s box-shadow, top 0.2s, opacity 0.2s; position: relative; @@ -234,7 +234,7 @@ } } .Post-footer { - margin-top: 20px; + margin-top: 5px; > ul { > li { @@ -247,16 +247,18 @@ } } .Post-actions { + margin-top: -5px; float: right; - margin-top: -10px; + position: relative; + z-index: 1; .transition(opacity 0.2s); - .EventPost &, .Post--hidden & { + .EventPost &, .Post--hidden:not(.revealContent) & { margin-top: -27px; + margin-bottom: -15px; } @media @tablet-up { - margin-bottom: -15px; opacity: 0; }