I have ngx-toastr message notification from npm. Is there a way to change the size of message container?
when I open my application in small device, then toastr notification is too big.
ToastrModule.forRoot({
timeOut: 1000,
positionClass: 'toast-top-right',
preventDuplicates: true,
}),
If you want to change the size of toastr-dialog on all devices, add this to the
styles.scss
file:If you want to change the size only on small devices, you can use
@media
query to do it.