Skip to content

Commit

Permalink
chore: bring back lift on hover (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilkowalski authored Feb 13, 2025
1 parent 9f7057b commit 20cc198
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ html[dir='rtl'],
transition: transform 400ms ease;
}

[data-sonner-toaster][data-lifted='true'] {
transform: translateY(-8px);
}

@media (hover: none) and (pointer: coarse) {
[data-sonner-toaster][data-lifted='true'] {
transform: none;
}
}

[data-sonner-toaster][data-x-position='right'] {
right: var(--offset-right);
}
Expand Down

0 comments on commit 20cc198

Please sign in to comment.