mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 22:01:09 +02:00
🐛 fix(figgos): use contain resizeMode to prevent card side cropping
Thumbnails in showcase and collection used resizeMode="cover" which cropped the sides of portrait-oriented card images after bg trimming. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
a117d5479b
commit
e29de50b11
2 changed files with 2 additions and 2 deletions
|
|
@ -145,7 +145,7 @@ export default function CarouselScreen() {
|
|||
<Image
|
||||
source={{ uri: item.imageUrl! }}
|
||||
style={{ width: '100%', height: '100%' }}
|
||||
resizeMode="cover"
|
||||
resizeMode="contain"
|
||||
/>
|
||||
</View>
|
||||
</Pressable>
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ function CardThumbnail({
|
|||
<Image
|
||||
source={{ uri: figure.imageUrl! }}
|
||||
style={{ width: '100%', height: '100%' }}
|
||||
resizeMode="cover"
|
||||
resizeMode="contain"
|
||||
/>
|
||||
</View>
|
||||
</Pressable>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue