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