tangled mirror of catsky-🐱 Soothing soft social-app fork with all the niche toggles! (Unofficial); for issues and PRs please put them on github:NekoDrone/catsky-social

fix hider alignment in thread (#9168)

authored by samuel.fm and committed by GitHub b7b47d30 3561fc81

Changed files
+6 -4
src
components
moderation
screens
PostThread
components
+3
src/components/moderation/PostHider.tsx
··· 34 34 modui: ModerationUI 35 35 profile: AppBskyActorDefs.ProfileViewBasic 36 36 interpretFilterAsBlur?: boolean 37 + hiderStyle?: StyleProp<ViewStyle> 37 38 } 38 39 39 40 export function PostHider({ ··· 42 43 disabled, 43 44 modui, 44 45 style, 46 + hiderStyle, 45 47 children, 46 48 iconSize, 47 49 iconStyles, ··· 100 102 }, 101 103 override ? {paddingBottom: 0} : undefined, 102 104 t.atoms.bg, 105 + hiderStyle, 103 106 ]}> 104 107 <ModerationDetailsDialog control={control} modcause={blur} /> 105 108 <Pressable
+3 -4
src/screens/PostThread/components/ThreadItemPost.tsx
··· 132 132 <View 133 133 style={[ 134 134 showTopBorder && [a.border_t, t.atoms.border_contrast_low], 135 - { 136 - paddingHorizontal: OUTER_SPACE, 137 - }, 135 + {paddingHorizontal: OUTER_SPACE}, 138 136 // If there's no next child, add a little padding to bottom 139 137 !item.ui.showChildReplyLine && 140 138 !item.ui.precedesChildReadMore && { ··· 255 253 href={postHref} 256 254 disabled={overrides?.moderation === true} 257 255 modui={moderation.ui('contentList')} 256 + hiderStyle={[a.pl_0, a.pr_2xs, a.bg_transparent]} 258 257 iconSize={LINEAR_AVI_WIDTH} 259 - iconStyles={{marginLeft: 2, marginRight: 2}} 258 + iconStyles={[a.mr_xs]} 260 259 profile={post.author} 261 260 interpretFilterAsBlur> 262 261 <ThreadItemPostParentReplyLine item={item} />