Fix image expand width on mobile.

This commit is contained in:
Dessalines 2020-03-02 10:48:06 -05:00
parent aff1ed95e9
commit 0bf4a6a6b5

View File

@ -285,7 +285,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
<source src={this.state.url} type="video/mp4" /> <source src={this.state.url} type="video/mp4" />
</video> </video>
)} )}
<div class="col-8 col-sm-9"> <div
class={`${this.state.imageExpanded ? 'col-12' : 'col-8 col-sm-9'}`}
>
<div class="row"> <div class="row">
<div className="col-12"> <div className="col-12">
<div className="post-title"> <div className="post-title">