Skip to content

Commit

Permalink
Styles: 속성 아이콘 스타일 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
DICEPT committed Feb 23, 2024
1 parent eb7468d commit 0f4094f
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 0f4094f

Please sign in to comment.