Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix image #60

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/components/CharacterImageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ function CharacterImageList({
checked={selectedObject.id == img.id}
onChange={handleClickRadioButton}
/>
<img className="h-48 w-48" alt="sample" src={img.url} />
<img
className="object-cover h-48 w-48"
alt="sample"
src={img.url}
/>
</label>
</div>
))}
Expand Down Expand Up @@ -185,7 +189,7 @@ function CharacterImageList({
/>

<img
className="h-48 w-48 z-10"
className="object-cover h-48 w-48 z-10"
alt="sample"
src={img.url}
/>
Expand Down
6 changes: 5 additions & 1 deletion src/components/ResultImageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ function ResultImageList({ object }: ImageListProps) {
key={img.id}
className="col-span-1 relative justify-center bg-slate-50 border-8 border-slate-50"
>
<img className="h-44 w-52 z-10" alt="sample" src={img.url} />
<img
className="object-cover h-40 w-52 z-10"
alt="sample"
src={img.url}
/>
<li className="flex justify-between pt-1">
<div className="n flex text-base text-slate-500 float-left pl-1">
<img
Expand Down
6 changes: 5 additions & 1 deletion src/components/UserPageCharacterImageList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ function UserPageCharacterImageList({
{userCharacterList &&
userCharacterList.map((img) => (
<div className="relative w-60 h-60" key={img.id}>
<img className="flex h-60 w-60" alt="sample" src={img.url} />
<img
className="flex object-cover h-60 w-60"
alt="sample"
src={img.url}
/>

<button onClick={() => deleteCharacterImage(img.id)}>
<img
Expand Down
5 changes: 3 additions & 2 deletions src/pages/Result.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,13 +268,14 @@ function Result() {
</p>
<p className="c text-slate-500 text-base ">
Effect to be used for mosaic processing. <br></br>If the
selected effect is correct, please press NEXT button.
selected effect is correct, <br />
please press NEXT button.
</p>
</div>

<div className="w-80 float-right ml-56">
<img
className="h-48 w-48 border-10 rounded border-transparent justify-center"
className="h-48 w-48 object-cover border-10 rounded border-transparent justify-center"
alt="sample"
src={character.url}
/>
Expand Down