</h5>
) : (
<div className="row">
- <div className="col-12 col-lg-6 offset-lg-3 mb-4">
+ <div
+ id="createPostForm"
+ className="col-12 col-lg-6 offset-lg-3 mb-4"
+ >
<h5>{i18n.t("create_post")}</h5>
<PostForm
onCreate={this.handlePostCreate}
body() {
const body = this.postView.post.body;
return body ? (
- <div className="col-12 card my-2 p-2">
+ <div id="postContent" className="col-12 card my-2 p-2">
{this.state.viewSource ? (
<pre>{body}</pre>
) : (
</button>
{showScores() ? (
<div
- className={`unselectable pointer font-weight-bold text-muted px-1`}
+ className={`unselectable pointer font-weight-bold text-muted px-1 post-score`}
data-tippy-content={this.pointsTippy}
>
{numToSI(this.postView.counts.score)}
<>
{/* The mobile view*/}
<div className="d-block d-sm-none">
- <div className="row">
+ <div className="row post-container">
<div className="col-12">
{this.createdLine()}
{/* The larger view*/}
<div className="d-none d-sm-block">
- <div className="row">
+ <div className="row post-container">
{!this.props.viewOnly && this.voteBar()}
- <div className="col-sm-2 pr-0">
+ <div className="col-sm-2 pr-0 post-media">
<div className="">{this.thumbnail()}</div>
</div>
<div className="col-12 col-sm-9">