Skip to content

Commit

Permalink
[core] fix(Toast): bottom toasts exit in the correct direction (#3911)
Browse files Browse the repository at this point in the history
Fixes #3791
  • Loading branch information
jdpaterson authored and adidahiya committed Jan 6, 2020
1 parent 9ede552 commit f69aeb8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/components/toast/_toast.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ $toast-margin: $pt-grid-size * 2 !default;
&.#{$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-exit-active ~ .#{$ns}-toast,
&.#{$ns}-toast-leave-active ~ .#{$ns}-toast {
transform: translateY($toast-margin + $toast-height);
}
Expand Down

1 comment on commit f69aeb8

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[core] fix(Toast): bottom toasts exit in the correct direction (#3911)

Previews: documentation | landing | table

Please sign in to comment.