fix: include width units for similar album cover image

This commit is contained in:
Lei Nelissen
2023-04-24 23:38:36 +02:00
parent 4267b8a981
commit ed78e4ab49

View File

@@ -19,8 +19,8 @@ type Route = RouteProp<StackParams, 'Album'>;
const Screen = Dimensions.get('screen');
const Cover = styled(AlbumImage)`
height: ${Screen.width / 2.8};
width: ${Screen.width / 2.8};
height: ${Screen.width / 2.8}px;
width: ${Screen.width / 2.8}px;
border-radius: 12px;
margin-bottom: 8px;
`;