From 1ed148d3d230a5c30dea241d8065eee5c4abf381 Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Thu, 15 Jun 2023 08:23:55 -0400 Subject: [PATCH 1/3] fix:
is almost invisible in darkly theme --- src/shared/components/post/post-listings.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/shared/components/post/post-listings.tsx b/src/shared/components/post/post-listings.tsx index 098a015d..294b9494 100644 --- a/src/shared/components/post/post-listings.tsx +++ b/src/shared/components/post/post-listings.tsx @@ -68,7 +68,7 @@ export class PostListings extends Component { return (
{this.posts.length > 0 ? ( - this.posts.map(post_view => ( + this.posts.map((post_view: PostView, idx: number) => ( <> { onAddAdmin={this.props.onAddAdmin} onTransferCommunity={this.props.onTransferCommunity} /> -
+ {idx + 1 !== this.posts.length && ( +
+ )} )) ) : ( From 1dd8cb09949255593b3a58bd447ac9915b1d41c6 Mon Sep 17 00:00:00 2001 From: ayan4m1 Date: Thu, 15 Jun 2023 08:31:36 -0400 Subject: [PATCH 2/3] remove explicit types --- src/shared/components/post/post-listings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/components/post/post-listings.tsx b/src/shared/components/post/post-listings.tsx index 294b9494..00370f03 100644 --- a/src/shared/components/post/post-listings.tsx +++ b/src/shared/components/post/post-listings.tsx @@ -68,7 +68,7 @@ export class PostListings extends Component { return (
{this.posts.length > 0 ? ( - this.posts.map((post_view: PostView, idx: number) => ( + this.posts.map((post_view, idx) => ( <> Date: Thu, 15 Jun 2023 11:48:30 -0400 Subject: [PATCH 3/3] add user-scalable=no to meta tag --- src/server/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/index.tsx b/src/server/index.tsx index 06dc33a4..3a12ad7e 100644 --- a/src/server/index.tsx +++ b/src/server/index.tsx @@ -421,7 +421,7 @@ async function createSsrHtml(root: string, isoData: IsoDataOptionalSite) { - +