From 918e1e6b534b3c5953200ac8fe24ecfdbad10090 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Sun, 10 Mar 2024 17:39:19 -0500 Subject: [PATCH] Adjust spacing of inform badges --- src/components/moderation/PostAlerts.tsx | 2 +- src/components/moderation/ProfileHeaderAlerts.tsx | 2 +- src/screens/Profile/Header/Shell.tsx | 2 +- src/view/com/post-thread/PostThreadItem.tsx | 4 ++-- src/view/com/post/Post.tsx | 2 +- src/view/com/posts/FeedItem.tsx | 2 +- src/view/com/util/post-embeds/QuoteEmbed.tsx | 5 +---- 7 files changed, 8 insertions(+), 11 deletions(-) diff --git a/src/components/moderation/PostAlerts.tsx b/src/components/moderation/PostAlerts.tsx index 7524ebeb82..97990759a2 100644 --- a/src/components/moderation/PostAlerts.tsx +++ b/src/components/moderation/PostAlerts.tsx @@ -27,7 +27,7 @@ export function PostAlerts({ } return ( - + {modui.inform && ( {modui.informs.map(cause => ( diff --git a/src/components/moderation/ProfileHeaderAlerts.tsx b/src/components/moderation/ProfileHeaderAlerts.tsx index a063c65cbf..efd825df67 100644 --- a/src/components/moderation/ProfileHeaderAlerts.tsx +++ b/src/components/moderation/ProfileHeaderAlerts.tsx @@ -27,7 +27,7 @@ export function ProfileHeaderAlerts({ } return ( - + {modui.inform && ( {modui.informs.map(cause => ( diff --git a/src/screens/Profile/Header/Shell.tsx b/src/screens/Profile/Header/Shell.tsx index 2d0ed77c1d..5f6bc85dbd 100644 --- a/src/screens/Profile/Header/Shell.tsx +++ b/src/screens/Profile/Header/Shell.tsx @@ -80,7 +80,7 @@ let ProfileHeaderShell = ({ {children} - + {isMe && ( diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx index 51e08a1acb..f0366a2d58 100644 --- a/src/view/com/post-thread/PostThreadItem.tsx +++ b/src/view/com/post-thread/PostThreadItem.tsx @@ -297,7 +297,7 @@ let PostThreadItemLoaded = ({ {richText?.text ? ( {richText?.text ? ( diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 37092d4d76..913b7b4f86 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -185,7 +185,7 @@ function PostInner({ childContainerStyle={styles.contentHiderChild}> {richText.text ? ( diff --git a/src/view/com/posts/FeedItem.tsx b/src/view/com/posts/FeedItem.tsx index d84d77cd9b..cf212c5965 100644 --- a/src/view/com/posts/FeedItem.tsx +++ b/src/view/com/posts/FeedItem.tsx @@ -340,7 +340,7 @@ let PostContent = ({ modui={moderation.ui('contentList')} ignoreMute childContainerStyle={styles.contentHiderChild}> - + {richText.text ? ( {moderation ? ( - + ) : null} {richText ? (