mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-27 16:24:24 +00:00
fix: <hr> is almost invisible in darkly theme
This commit is contained in:
parent
de4b1a0518
commit
1ed148d3d2
|
@ -68,7 +68,7 @@ export class PostListings extends Component<PostListingsProps, any> {
|
|||
return (
|
||||
<div>
|
||||
{this.posts.length > 0 ? (
|
||||
this.posts.map(post_view => (
|
||||
this.posts.map((post_view: PostView, idx: number) => (
|
||||
<>
|
||||
<PostListing
|
||||
post_view={post_view}
|
||||
|
@ -96,7 +96,9 @@ export class PostListings extends Component<PostListingsProps, any> {
|
|||
onAddAdmin={this.props.onAddAdmin}
|
||||
onTransferCommunity={this.props.onTransferCommunity}
|
||||
/>
|
||||
<hr className="my-3" />
|
||||
{idx + 1 !== this.posts.length && (
|
||||
<hr className="my-3 border border-primary" />
|
||||
)}
|
||||
</>
|
||||
))
|
||||
) : (
|
||||
|
|
Loading…
Reference in a new issue