scttcper / ngx-toastr

🍞 Angular Toastr
https://ngx-toastr.vercel.app
MIT License
2.48k stars 361 forks source link

Incorrect Position CSS #1010

Open thatcort opened 7 months ago

thatcort commented 7 months ago

The CSS for the toast-top-center class is incorrect. Right now it is the same as top-right. It should be something like the following:

.toast-top-center {
    top: 12px;
    left: 50%;
    transform: translate(-50%, 0);
}
adeniranjohn commented 3 months ago

With version 18.0.0, It is working. Give it a try

thatcort commented 3 months ago

Thanks @adeniranjohn. Will test when we upgrade to Angular 17