Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
Fix height of remixes tile (#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
sliptype authored Oct 5, 2022
1 parent ebcfe62 commit a961d68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/mobile/src/components/co-sign/CoSign.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const CoSign = ({ size, children, style }: CoSignProps) => {
const { size: iconSize, position } = layoutBySize[size]

return (
<View style={[style, { flex: 1 }]}>
<View style={[{ flex: 1 }, style]}>
<View>{children}</View>
<View style={[styles.check, position]}>
<IconCoSign fill={primary} fillSecondary={staticWhite} {...iconSize} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,13 @@ const TrackScreenRemixComponent = ({
return (
<View style={[styles.root, style, stylesProp?.root]}>
<Pressable onPress={handlePressTrack}>
{_co_sign ? <CoSign size={Size.MEDIUM}>{images}</CoSign> : images}
{_co_sign ? (
<CoSign size={Size.MEDIUM} style={{ flex: 0 }}>
{images}
</CoSign>
) : (
images
)}
</Pressable>
<Pressable style={styles.artist} onPress={handlePressArtist}>
<View style={styles.name}>
Expand Down

0 comments on commit a961d68

Please sign in to comment.