Fix post listing formatting.

This commit is contained in:
Dessalines 2020-11-17 13:48:09 -06:00
parent f53c796a70
commit 4836da9d64

View file

@ -562,7 +562,8 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
</svg> </svg>
{this.state.upvotes} {this.state.upvotes}
</button> </button>
{this.props.enableDownvotes && (<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'
}`} }`}