mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 08:47:19 +00:00
parent
14aef0e0b3
commit
f53c796a70
|
@ -562,7 +562,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
</svg>
|
</svg>
|
||||||
{this.state.upvotes}
|
{this.state.upvotes}
|
||||||
</button>
|
</button>
|
||||||
<button
|
{this.props.enableDownvotes && (<button
|
||||||
className={`ml-2 btn-animate btn py-0 pl-1 ${
|
className={`ml-2 btn-animate btn py-0 pl-1 ${
|
||||||
this.state.my_vote == -1 ? 'text-danger' : 'text-muted'
|
this.state.my_vote == -1 ? 'text-danger' : 'text-muted'
|
||||||
}`}
|
}`}
|
||||||
|
@ -576,6 +576,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
<span>{this.state.downvotes}</span>
|
<span>{this.state.downvotes}</span>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<button
|
<button
|
||||||
class="btn btn-link btn-animate text-muted py-0 pl-1 pr-0"
|
class="btn btn-link btn-animate text-muted py-0 pl-1 pr-0"
|
||||||
|
|
Loading…
Reference in a new issue