diff --git a/src/components/atoms/PortfolioCard/styles.ts b/src/components/atoms/PortfolioCard/styles.ts index 632a572..ba22d80 100644 --- a/src/components/atoms/PortfolioCard/styles.ts +++ b/src/components/atoms/PortfolioCard/styles.ts @@ -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; } @@ -17,10 +21,6 @@ const StyledPortfolioCard = styled.article` transition: transform 0.3s ease; } - img:hover { - transform: scale(1.04); - } - h1 { margin: 0; }