From c05a3b52d6f45cdaf48cea629418c7cd010773b3 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 31 Oct 2024 10:21:12 +0300 Subject: [PATCH] Refactor #6689 - For Toast --- packages/primevue/src/toast/style/ToastStyle.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/primevue/src/toast/style/ToastStyle.js b/packages/primevue/src/toast/style/ToastStyle.js index 1faca5e54..369f5d666 100644 --- a/packages/primevue/src/toast/style/ToastStyle.js +++ b/packages/primevue/src/toast/style/ToastStyle.js @@ -63,6 +63,12 @@ const theme = ({ dt }) => ` user-select: none; } +.p-toast-close-button:dir(rtl) { + margin: -25% 0 0 auto; + left: -25%; + right: auto; +} + .p-toast-message-info, .p-toast-message-success, .p-toast-message-warn,