mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Adding post listing separators. Hiding full score unless downvotes.
This commit is contained in:
parent
08af66ba28
commit
4e5d7b6e84
7
ui/src/components/post-listing.tsx
vendored
7
ui/src/components/post-listing.tsx
vendored
@ -463,11 +463,15 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||
</span>
|
||||
)}
|
||||
</li>
|
||||
<li className="list-inline-item">•</li>
|
||||
<li className="list-inline-item">
|
||||
<span>
|
||||
<MomentTime data={post} />
|
||||
</span>
|
||||
</li>
|
||||
<li className="list-inline-item">•</li>
|
||||
{this.state.upvotes !== this.state.score && (
|
||||
<>
|
||||
<li className="list-inline-item">
|
||||
<span className="text-muted">
|
||||
<svg class="small icon icon-inline mr-1">
|
||||
@ -484,6 +488,9 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||
{this.state.downvotes}
|
||||
</span>
|
||||
</li>
|
||||
<li className="list-inline-item">•</li>
|
||||
</>
|
||||
)}
|
||||
<li className="list-inline-item">
|
||||
<Link
|
||||
className="text-muted"
|
||||
|
Loading…
Reference in New Issue
Block a user