fix some border radius problems on fabric (#3118)
* fix some border radi * fix notifications image border radius * types
This commit is contained in:
@@ -164,7 +164,7 @@ let UserAvatar = ({
|
||||
<Image
|
||||
accessibilityIgnoresInvertColors
|
||||
testID="userAvatarImage"
|
||||
style={aviStyle}
|
||||
style={[aviStyle, {overflow: 'hidden'}]}
|
||||
resizeMode="cover"
|
||||
source={{uri: avatar}}
|
||||
blurRadius={moderation?.blur ? BLUR_AMOUNT : 0}
|
||||
@@ -172,7 +172,7 @@ let UserAvatar = ({
|
||||
) : (
|
||||
<HighPriorityImage
|
||||
testID="userAvatarImage"
|
||||
style={aviStyle}
|
||||
style={[aviStyle, {overflow: 'hidden'}]}
|
||||
contentFit="cover"
|
||||
source={{uri: avatar}}
|
||||
blurRadius={moderation?.blur ? BLUR_AMOUNT : 0}
|
||||
|
||||
@@ -58,16 +58,19 @@ const styles = StyleSheet.create({
|
||||
width: 60,
|
||||
height: 60,
|
||||
borderRadius: 30,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
sizeLarge: {
|
||||
width: 70,
|
||||
height: 70,
|
||||
borderRadius: 35,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
outer: {
|
||||
// @ts-ignore web-only
|
||||
position: isWeb ? 'fixed' : 'absolute',
|
||||
zIndex: 1,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
inner: {
|
||||
justifyContent: 'center',
|
||||
|
||||
@@ -33,5 +33,6 @@ const styles = StyleSheet.create({
|
||||
height: 100,
|
||||
borderRadius: 4,
|
||||
marginRight: 5,
|
||||
overflow: 'hidden',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user