Skip to content

Commit

Permalink
feat: disable lift animation on touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski committed Nov 3, 2024
1 parent 5f20f4d commit c8dfd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
transform: translateY(-10px);
}

@media (max-width: 768px) {
@media (hover: none) and (pointer: coarse) {
:where([data-sonner-toaster][data-lifted='true']) {
transform: none;
}
Expand Down

0 comments on commit c8dfd8c

Please sign in to comment.