Skip to content

Commit

Permalink
refactor: box shadow 변수 사용 (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
turtle601 committed Jul 31, 2023
1 parent b704ab9 commit 1b7a93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/@common/InfoButton/InfoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ const StyledInfoButton = styled.button<InfoButtonProps>`
${({ isShow }) =>
isShow &&
css`
box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
box-shadow: var(--shadow);
`}
&:hover {
box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
box-shadow: var(--shadow);
transition: box-shadow 0.2s ease-in-out;
}
Expand Down

0 comments on commit 1b7a93d

Please sign in to comment.