diff --git a/src/components/toast/Toast.vue b/src/components/toast/Toast.vue index 3fa6aa505..eaedb745d 100755 --- a/src/components/toast/Toast.vue +++ b/src/components/toast/Toast.vue @@ -143,14 +143,16 @@ export default { .p-toast-top-center { top: 20px; - left: 50%; - margin-left: -10em; + left: 0; + right: 0; + margin: auto; } .p-toast-bottom-center { bottom: 20px; - left: 50%; - margin-left: -10em; + left: 0; + right: 0; + margin: auto; } .p-toast-center {