Small tweaks to the moderation screen
This commit is contained in:
@@ -14,8 +14,6 @@ export function Outer({
|
|||||||
children,
|
children,
|
||||||
style,
|
style,
|
||||||
}: React.PropsWithChildren<ViewStyleProp>) {
|
}: React.PropsWithChildren<ViewStyleProp>) {
|
||||||
const t = useTheme()
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
@@ -23,15 +21,11 @@ export function Outer({
|
|||||||
a.align_center,
|
a.align_center,
|
||||||
a.gap_sm,
|
a.gap_sm,
|
||||||
a.w_full,
|
a.w_full,
|
||||||
a.rounded_sm,
|
|
||||||
a.pt_md,
|
a.pt_md,
|
||||||
a.pb_md,
|
a.pb_md,
|
||||||
a.pl_md,
|
a.pl_md,
|
||||||
a.pr_md,
|
a.pr_lg,
|
||||||
a.overflow_hidden,
|
a.overflow_hidden,
|
||||||
a.border,
|
|
||||||
t.atoms.border_contrast_low,
|
|
||||||
t.atoms.bg_contrast_25,
|
|
||||||
flatten(style),
|
flatten(style),
|
||||||
]}>
|
]}>
|
||||||
<View style={[a.flex_row, a.align_center, a.w_full, a.gap_md]}>
|
<View style={[a.flex_row, a.align_center, a.w_full, a.gap_md]}>
|
||||||
@@ -104,7 +98,7 @@ export function Content({
|
|||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<ChevronRight size="md" style={[a.z_10]} fill={t.palette.contrast_500} />
|
<ChevronRight size="md" style={[a.z_10, t.atoms.text_contrast_low]} />
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -281,10 +281,10 @@ export function ModerationScreenInner({
|
|||||||
a.pb_md,
|
a.pb_md,
|
||||||
t.atoms.text_contrast_high,
|
t.atoms.text_contrast_high,
|
||||||
]}>
|
]}>
|
||||||
<Trans>Labeler subscriptions</Trans>
|
<Trans>Labelers</Trans>
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
<View style={[a.gap_sm]}>
|
<View style={[a.gap_sm, a.rounded_sm, t.atoms.bg_contrast_25]}>
|
||||||
{modservices.map(mod => {
|
{modservices.map(mod => {
|
||||||
return (
|
return (
|
||||||
<ModerationServiceCard.Link
|
<ModerationServiceCard.Link
|
||||||
|
|||||||
Reference in New Issue
Block a user