💅 disallow overflow outside of post content area(s) (#1395)
parent
8a93321fb1
commit
c10cb8e972
|
@ -349,6 +349,7 @@ const styles = StyleSheet.create({
|
|||
paddingLeft: 10,
|
||||
paddingRight: 15,
|
||||
cursor: 'pointer',
|
||||
overflow: 'hidden',
|
||||
},
|
||||
outerSmallTop: {
|
||||
borderTopWidth: 0,
|
||||
|
|
|
@ -29,7 +29,7 @@ export function ContentHider({
|
|||
|
||||
if (!moderation.blur || (ignoreMute && moderation.cause?.type === 'muted')) {
|
||||
return (
|
||||
<View testID={testID} style={style}>
|
||||
<View testID={testID} style={[styles.outer, style]}>
|
||||
{children}
|
||||
</View>
|
||||
)
|
||||
|
@ -37,7 +37,7 @@ export function ContentHider({
|
|||
|
||||
const desc = describeModerationCause(moderation.cause, 'content')
|
||||
return (
|
||||
<View testID={testID} style={style}>
|
||||
<View testID={testID} style={[styles.outer, style]}>
|
||||
<Pressable
|
||||
onPress={() => {
|
||||
if (!moderation.noOverride) {
|
||||
|
@ -90,6 +90,9 @@ export function ContentHider({
|
|||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
outer: {
|
||||
overflow: 'hidden',
|
||||
},
|
||||
cover: {
|
||||
flexDirection: 'row',
|
||||
alignItems: 'center',
|
||||
|
|
Loading…
Reference in New Issue