From eff295242cbf00579ff4b2b4e36617927a1e6f37 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 11 Jun 2021 15:19:09 +0300 Subject: [PATCH] Refactored #1315 --- src/components/toast/Toast.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 {