Fix skeleton alignment (#6676)
This commit is contained in:
@@ -139,7 +139,7 @@ export function NotificationLoadingPlaceholder({
|
|||||||
const pal = usePalette('default')
|
const pal = usePalette('default')
|
||||||
return (
|
return (
|
||||||
<View style={[styles.notification, pal.view, style]}>
|
<View style={[styles.notification, pal.view, style]}>
|
||||||
<View style={[{width: 70}, a.align_end, a.pr_sm, a.pt_2xs]}>
|
<View style={[{width: 60}, a.align_end, a.pr_sm, a.pt_2xs]}>
|
||||||
<HeartIconFilled
|
<HeartIconFilled
|
||||||
size="xl"
|
size="xl"
|
||||||
style={{color: pal.colors.backgroundLight}}
|
style={{color: pal.colors.backgroundLight}}
|
||||||
@@ -148,8 +148,8 @@ export function NotificationLoadingPlaceholder({
|
|||||||
<View style={{flex: 1}}>
|
<View style={{flex: 1}}>
|
||||||
<View style={[a.flex_row, s.mb10]}>
|
<View style={[a.flex_row, s.mb10]}>
|
||||||
<LoadingPlaceholder
|
<LoadingPlaceholder
|
||||||
width={30}
|
width={35}
|
||||||
height={30}
|
height={35}
|
||||||
style={styles.smallAvatar}
|
style={styles.smallAvatar}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
@@ -309,7 +309,7 @@ const styles = StyleSheet.create({
|
|||||||
padding: 5,
|
padding: 5,
|
||||||
},
|
},
|
||||||
avatar: {
|
avatar: {
|
||||||
borderRadius: 26,
|
borderRadius: 999,
|
||||||
marginRight: 10,
|
marginRight: 10,
|
||||||
marginLeft: 8,
|
marginLeft: 8,
|
||||||
},
|
},
|
||||||
@@ -323,11 +323,11 @@ const styles = StyleSheet.create({
|
|||||||
margin: 1,
|
margin: 1,
|
||||||
},
|
},
|
||||||
profileCardAvi: {
|
profileCardAvi: {
|
||||||
borderRadius: 20,
|
borderRadius: 999,
|
||||||
marginRight: 10,
|
marginRight: 10,
|
||||||
},
|
},
|
||||||
smallAvatar: {
|
smallAvatar: {
|
||||||
borderRadius: 15,
|
borderRadius: 999,
|
||||||
marginRight: 10,
|
marginRight: 10,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user