Skip to content

Commit 58254be

Browse files
author
jyn
committed
Merge branch 'develop' into feature/jeon
2 parents 6672522 + c3187a6 commit 58254be

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/components/Card/Card.module.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,13 @@
9393
background-color 0.2s ease,
9494
border-color 0.2s ease;
9595

96-
&:hover {
97-
background-color: $error;
98-
border-color: $gray-400;
99-
&:hover img {
100-
animation: shake 0.5s ease-in-out;
96+
@media (hover: hover) and (pointer: fine) {
97+
&:hover {
98+
background-color: $error;
99+
border-color: $gray-400;
100+
img {
101+
animation: shake 0.5s ease-in-out;
102+
}
101103
}
102104
}
103105
}

0 commit comments

Comments
 (0)