Open t0mos opened 3 years ago
I had the same issue, I was trying to use scoped styles in a component but I believe as the toast is not part of the component these are not applied.
You can set the containerClass on your toast and then style in some global css file.
this.$toasted.show(x.response.data, {
containerClass: "toastContainer",
});
.toasted-container.toastContainer.top-right {
top: 0%;
right: 1%;
}
I want to make it closer to the top right corner. By default the positioning is
I want to make it
but I am struggling with overwriting the code.