Skip to content

Commit

Permalink
refactor(portfolio): hover effect on card instead of image
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-abela committed Mar 24, 2024
1 parent 31810b2 commit a674d99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/atoms/PortfolioCard/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ const StyledPortfolioCard = styled.article`
margin-bottom: 48px;
flex-direction: column;
&:hover img {
transform: scale(1.04);
}
a {
color: ${({ theme }) => theme.headline} !important;
color: ${({ theme }) => theme.headline};
text-decoration: none;
}
Expand All @@ -17,10 +21,6 @@ const StyledPortfolioCard = styled.article`
transition: transform 0.3s ease;
}
img:hover {
transform: scale(1.04);
}
h1 {
margin: 0;
}
Expand Down

0 comments on commit a674d99

Please sign in to comment.