if (isImage(post.url)) {
return (
<div
- class="text-body pointer d-inline-block position-relative"
+ class="float-right text-body pointer d-inline-block position-relative"
data-tippy-content={i18n.t('expand_here')}
onClick={linkEvent(this, this.handleImageExpandClick)}
>
} else if (post.thumbnail_url) {
return (
<a
- class="text-body d-inline-block position-relative"
+ class="float-right text-body d-inline-block position-relative"
href={post.url}
target="_blank"
rel="noopener"
mobileThumbnail() {
return this.props.post.thumbnail_url || isImage(this.props.post.url) ? (
<div class="row">
- <div class="col-8">{this.postTitleLine()}</div>
+ <div className={`${this.state.imageExpanded ? 'col-12' : 'col-8'}`}>
+ {this.postTitleLine()}
+ </div>
<div class="col-4">
{/* Post body prev or thumbnail */}
{!this.state.imageExpanded && this.thumbnail()}