Skip to content

Commit

Permalink
objectFit='contain'を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
SEKI-YUTA committed Dec 28, 2023
1 parent 177bdf6 commit de8976e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function App() {
faceCoverImage !== undefined &&
<Container width='100%' display='flex' flexDirection='row' justifyContent='end'>
<Text>右の写真で顔が隠されます。</Text>
<Img src={faceCoverImage.src} width='100px' height='100px' />
<Img src={faceCoverImage.src} width='100px' height='100px' objectFit='contain' />
</Container>
}
<FileButton
Expand Down

0 comments on commit de8976e

Please sign in to comment.