Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit b215cac

Browse files
committed
Test disable animation for otuche device 🚀
1 parent f654b1c commit b215cac

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/components/design-system/molecules/post-card.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ const PostCardContainer = styled.div`
2222
box-shadow: 0 3px 10px 0 ${(props) => props.theme.light.boxShadowLight};
2323
2424
@media (min-width: 992px) {
25-
transition: transform 0.2s;
26-
&:hover {
27-
transform: scale(1.025);
25+
@media (hover: hover) and (pointer: fine) {
26+
transition: transform 0.2s;
27+
&:hover {
28+
transform: scale(1.025);
29+
}
2830
}
2931
}
3032

0 commit comments

Comments
 (0)