mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 14:45:20 +00:00
Fix post listing formatting.
This commit is contained in:
parent
f53c796a70
commit
4836da9d64
|
@ -562,20 +562,21 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</svg>
|
</svg>
|
||||||
{this.state.upvotes}
|
{this.state.upvotes}
|
||||||
</button>
|
</button>
|
||||||
{this.props.enableDownvotes && (<button
|
{this.props.enableDownvotes && (
|
||||||
className={`ml-2 btn-animate btn py-0 pl-1 ${
|
<button
|
||||||
this.state.my_vote == -1 ? 'text-danger' : 'text-muted'
|
className={`ml-2 btn-animate btn py-0 pl-1 ${
|
||||||
}`}
|
this.state.my_vote == -1 ? 'text-danger' : 'text-muted'
|
||||||
onClick={linkEvent(this, this.handlePostDisLike)}
|
}`}
|
||||||
data-tippy-content={this.pointsTippy}
|
onClick={linkEvent(this, this.handlePostDisLike)}
|
||||||
>
|
data-tippy-content={this.pointsTippy}
|
||||||
<svg class="small icon icon-inline mr-2">
|
>
|
||||||
<use xlinkHref="#icon-arrow-down1"></use>
|
<svg class="small icon icon-inline mr-2">
|
||||||
</svg>
|
<use xlinkHref="#icon-arrow-down1"></use>
|
||||||
{this.state.downvotes !== 0 && (
|
</svg>
|
||||||
<span>{this.state.downvotes}</span>
|
{this.state.downvotes !== 0 && (
|
||||||
)}
|
<span>{this.state.downvotes}</span>
|
||||||
</button>
|
)}
|
||||||
|
</button>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
|
|
Loading…
Reference in a new issue