From 2b99cd8920f984664cb805d2a197fd0f04b6c9bb Mon Sep 17 00:00:00 2001 From: Zakher Masri <46135573+zaaakher@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:04:54 +0300 Subject: [PATCH] fix: reverse left position on mobile `rtl` (#453) --- src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles.css b/src/styles.css index ae9dcac..8153623 100644 --- a/src/styles.css +++ b/src/styles.css @@ -357,6 +357,10 @@ width: 100%; } + [data-sonner-toaster][dir='rtl'] { + left: calc(var(--mobile-offset) * -1); + } + [data-sonner-toaster] [data-sonner-toast] { left: 0; right: 0;