fix some border radius problems on fabric (#3118)

* fix some border radi

* fix notifications image border radius

* types
This commit is contained in:
Hailey
2024-03-05 17:57:04 -08:00
committed by GitHub
parent b430ae7f72
commit abad9c92ae
3 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -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}
+3
View File
@@ -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',
},
})