Adjust spacing of inform badges
This commit is contained in:
@@ -27,7 +27,7 @@ export function PostAlerts({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={[a.flex_col, a.gap_xs, a.mb_sm, style]}>
|
<View style={[a.flex_col, a.gap_xs, style]}>
|
||||||
{modui.inform && (
|
{modui.inform && (
|
||||||
<View style={[a.flex_row, a.flex_wrap, a.gap_xs]}>
|
<View style={[a.flex_row, a.flex_wrap, a.gap_xs]}>
|
||||||
{modui.informs.map(cause => (
|
{modui.informs.map(cause => (
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ export function ProfileHeaderAlerts({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={[a.flex_col, a.gap_xs, a.mb_sm, style]}>
|
<View style={[a.flex_col, a.gap_xs, style]}>
|
||||||
{modui.inform && (
|
{modui.inform && (
|
||||||
<View style={[a.flex_row, a.flex_wrap, a.gap_xs]}>
|
<View style={[a.flex_row, a.flex_wrap, a.gap_xs]}>
|
||||||
{modui.informs.map(cause => (
|
{modui.informs.map(cause => (
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ let ProfileHeaderShell = ({
|
|||||||
|
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
<View style={[a.px_lg]} pointerEvents="box-none">
|
<View style={[a.px_lg, a.pb_sm]} pointerEvents="box-none">
|
||||||
<ProfileHeaderAlerts moderation={moderation} />
|
<ProfileHeaderAlerts moderation={moderation} />
|
||||||
{isMe && (
|
{isMe && (
|
||||||
<LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
|
<LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
|
||||||
|
|||||||
@@ -297,7 +297,7 @@ let PostThreadItemLoaded = ({
|
|||||||
<PostAlerts
|
<PostAlerts
|
||||||
modui={moderation.ui('contentView')}
|
modui={moderation.ui('contentView')}
|
||||||
includeMute
|
includeMute
|
||||||
style={styles.alert}
|
style={[a.pt_2xs, a.pb_sm]}
|
||||||
/>
|
/>
|
||||||
{richText?.text ? (
|
{richText?.text ? (
|
||||||
<View
|
<View
|
||||||
@@ -488,7 +488,7 @@ let PostThreadItemLoaded = ({
|
|||||||
<LabelsOnMyPost post={post} />
|
<LabelsOnMyPost post={post} />
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
modui={moderation.ui('contentList')}
|
modui={moderation.ui('contentList')}
|
||||||
style={styles.alert}
|
style={[a.pt_xs, a.pb_sm]}
|
||||||
/>
|
/>
|
||||||
{richText?.text ? (
|
{richText?.text ? (
|
||||||
<View style={styles.postTextContainer}>
|
<View style={styles.postTextContainer}>
|
||||||
|
|||||||
@@ -185,7 +185,7 @@ function PostInner({
|
|||||||
childContainerStyle={styles.contentHiderChild}>
|
childContainerStyle={styles.contentHiderChild}>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
modui={moderation.ui('contentView')}
|
modui={moderation.ui('contentView')}
|
||||||
style={styles.alert}
|
style={[a.py_xs]}
|
||||||
/>
|
/>
|
||||||
{richText.text ? (
|
{richText.text ? (
|
||||||
<View style={styles.postTextContainer}>
|
<View style={styles.postTextContainer}>
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ let PostContent = ({
|
|||||||
modui={moderation.ui('contentList')}
|
modui={moderation.ui('contentList')}
|
||||||
ignoreMute
|
ignoreMute
|
||||||
childContainerStyle={styles.contentHiderChild}>
|
childContainerStyle={styles.contentHiderChild}>
|
||||||
<PostAlerts modui={moderation.ui('contentList')} style={styles.alert} />
|
<PostAlerts modui={moderation.ui('contentList')} style={[a.py_xs]} />
|
||||||
{richText.text ? (
|
{richText.text ? (
|
||||||
<View style={styles.postTextContainer}>
|
<View style={styles.postTextContainer}>
|
||||||
<RichText
|
<RichText
|
||||||
|
|||||||
@@ -152,10 +152,7 @@ export function QuoteEmbed({
|
|||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
{moderation ? (
|
{moderation ? (
|
||||||
<PostAlerts
|
<PostAlerts modui={moderation.ui('contentView')} style={[a.py_xs]} />
|
||||||
modui={moderation.ui('contentView')}
|
|
||||||
style={styles.alert}
|
|
||||||
/>
|
|
||||||
) : null}
|
) : null}
|
||||||
{richText ? (
|
{richText ? (
|
||||||
<RichText
|
<RichText
|
||||||
|
|||||||
Reference in New Issue
Block a user