mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 20:01:06 +00:00
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" />
|
<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">
|
||||||
|
|
Loading…
Reference in a new issue