Skip to content

Commit

Permalink
Fix skeleton alignment (#6676)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Nov 23, 2024
1 parent aa58216 commit 9f07083
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/view/com/util/LoadingPlaceholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export function NotificationLoadingPlaceholder({
const pal = usePalette('default')
return (
<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
size="xl"
style={{color: pal.colors.backgroundLight}}
Expand All @@ -148,8 +148,8 @@ export function NotificationLoadingPlaceholder({
<View style={{flex: 1}}>
<View style={[a.flex_row, s.mb10]}>
<LoadingPlaceholder
width={30}
height={30}
width={35}
height={35}
style={styles.smallAvatar}
/>
</View>
Expand Down Expand Up @@ -309,7 +309,7 @@ const styles = StyleSheet.create({
padding: 5,
},
avatar: {
borderRadius: 26,
borderRadius: 999,
marginRight: 10,
marginLeft: 8,
},
Expand All @@ -323,11 +323,11 @@ const styles = StyleSheet.create({
margin: 1,
},
profileCardAvi: {
borderRadius: 20,
borderRadius: 999,
marginRight: 10,
},
smallAvatar: {
borderRadius: 15,
borderRadius: 999,
marginRight: 10,
},
})

0 comments on commit 9f07083

Please sign in to comment.