Skip to content

Commit

Permalink
Merge pull request #3253 from bluesky-social/samuel/square-border-radii
Browse files Browse the repository at this point in the history
Fix nested border radius issue on square avatars
  • Loading branch information
mozzius authored Mar 19, 2024
2 parents 3abf302 + 248f51a commit 9c49b20
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/screens/Profile/Header/Shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ const styles = StyleSheet.create({
borderWidth: 2,
},
aviLabeler: {
borderRadius: 12,
borderRadius: 10,
},
})
8 changes: 6 additions & 2 deletions src/view/com/util/UserAvatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,12 @@ let DefaultAvatar = ({
viewBox="0 0 32 32"
fill="none"
stroke="none">
<Path
d="M28 0H4C1.79086 0 0 1.79086 0 4V28C0 30.2091 1.79086 32 4 32H28C30.2091 32 32 30.2091 32 28V4C32 1.79086 30.2091 0 28 0Z"
<Rect
x="0"
y="0"
width="32"
height="32"
rx="3"
fill={tokens.color.temp_purple}
/>
<Path
Expand Down

0 comments on commit 9c49b20

Please sign in to comment.