Fix image expand width on mobile.
This commit is contained in:
parent
aff1ed95e9
commit
0bf4a6a6b5
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">
|
||||
|
|
Loading…
Reference in a new issue