Skip to content

Commit

Permalink
fix: remove ProductTile hover effects on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
tabathadelane committed Apr 29, 2024
1 parent 071af65 commit 3f88458
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/components/ProductTile.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,17 @@ const ProductTile = ({ children, icon, title, to }) => {
.dark-mode & {
border: var(--secondary-background-color) solid 1px; // prevent shifting on hover
}
@media screen and (max-width: 1000px) {
&:hover {
transform: none;
height: 100%;
width: 100%;
.text {
display: none;
}
}
}
`}
to={to}
>
Expand Down

0 comments on commit 3f88458

Please sign in to comment.