<div className="d-none d-sm-block">
<article className="row post-container">
{!this.props.viewOnly && (
- <VoteButtons
- voteContentType={VoteContentType.Post}
- id={this.postView.post.id}
- onVote={this.props.onPostVote}
- enableDownvotes={this.props.enableDownvotes}
- counts={this.postView.counts}
- my_vote={this.postView.my_vote}
- />
+ <div className="col-1">
+ <VoteButtons
+ voteContentType={VoteContentType.Post}
+ id={this.postView.post.id}
+ onVote={this.props.onPostVote}
+ enableDownvotes={this.props.enableDownvotes}
+ counts={this.postView.counts}
+ my_vote={this.postView.my_vote}
+ />
+ </div>
)}
<div className="col-sm-1 col-md-2 pe-0 post-media">
<div className="">{this.thumbnail()}</div>
</div>
<div className="col-12 col-sm-8 col-md-9 ">
- <div className="row">
- <div className="col-12">
- {this.postTitleLine()}
- {this.createdLine()}
- {this.showBodyPreview()}
- {this.commentsLine()}
- {this.duplicatesLine()}
- {this.userActionsLine()}
- {this.removeAndBanDialogs()}
- </div>
- </div>
+ {this.postTitleLine()}
+ {this.createdLine()}
+ {this.showBodyPreview()}
+ {this.commentsLine()}
+ {this.duplicatesLine()}
+ {this.userActionsLine()}
+ {this.removeAndBanDialogs()}
</div>
</article>
</div>