Skip to content

Commit

Permalink
Merge pull request #88 from side-project-pokehub/ParkChoulMin/CSS-wor…
Browse files Browse the repository at this point in the history
…k-five

Styles: 속성 아이콘 스타일 수정
  • Loading branch information
cdm1263 authored Feb 23, 2024
2 parents eb7468d + 0f4094f commit 1e48bf8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/components/detail/Detail.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,13 @@
height: 33px;
flex-shrink: 0;
cursor: none;
padding: 5px;
// padding: 5px;
border-radius: 16px;
.plate__name {
display: flex;
width: 100%;
justify-content: center;
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/detail/PokemonImg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const PokemonImg = ({ pokemonState, isLoading }: PokemonInfoExtendsProps) => {
src={`/icons/${koreanPokemonName}_on.svg`}
alt={`${koreanPokemonName}타입 아이콘`}
/>
<div>{koreanPokemonName}</div>
<div className={styles.plate__name}>{koreanPokemonName}</div>
</div>
);
})}
Expand Down
2 changes: 1 addition & 1 deletion src/components/plate/Plate.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
position: absolute;
left: 0;
right: 0;
top: -21px;
top: -18px;
margin: auto;
color: #fff;
display: none;
Expand Down

0 comments on commit 1e48bf8

Please sign in to comment.