Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix[Toast]: change style for first bottom toast #3784

Merged
merged 1 commit into from
Nov 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix[Toast]: fix first bottom toast
  • Loading branch information
tanmoyopenroot committed Oct 19, 2019
commit 8430688d4bbf482b8e014f467a8d729c47c44e8a
2 changes: 2 additions & 0 deletions packages/core/src/components/toast/_toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ $toast-margin: $pt-grid-size * 2 !default;
// minimal diff in react-transition styles so we can avoid calling those mixins again
&.#{$ns}-toast-enter:not(.#{$ns}-toast-enter-active),
&.#{$ns}-toast-enter:not(.#{$ns}-toast-enter-active) ~ .#{$ns}-toast,
&.#{$ns}-toast-appear:not(.#{$ns}-toast-appear-active),
&.#{$ns}-toast-appear:not(.#{$ns}-toast-appear-active) ~ .#{$ns}-toast,
&.#{$ns}-toast-leave-active ~ .#{$ns}-toast {
transform: translateY($toast-margin + $toast-height);
}
Expand Down