Fix image expand width on mobile.
This commit is contained in:
parent
d9f87f1bf5
commit
3e58375fcc
1 changed files with 3 additions and 1 deletions
4
ui/src/components/post-listing.tsx
vendored
4
ui/src/components/post-listing.tsx
vendored
|
@ -285,7 +285,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
|||
<source src={this.state.url} type="video/mp4" />
|
||||
</video>
|
||||
)}
|
||||
<div class="col-8 col-sm-9">
|
||||
<div
|
||||
class={`${this.state.imageExpanded ? 'col-12' : 'col-8 col-sm-9'}`}
|
||||
>
|
||||
<div class="row">
|
||||
<div className="col-12">
|
||||
<div className="post-title">
|
||||
|
|
Reference in a new issue