From 952317708f75b106328d68f2c101e02560d71677 Mon Sep 17 00:00:00 2001 From: Ahmad Dakhlallah Date: Sat, 3 Dec 2022 17:25:40 +0200 Subject: [PATCH] Fix menu-popover in RTL --- app/soapbox/components/ui/menu/menu.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/soapbox/components/ui/menu/menu.css b/app/soapbox/components/ui/menu/menu.css index d1b9d1a0e..f5f9f6bc9 100644 --- a/app/soapbox/components/ui/menu/menu.css +++ b/app/soapbox/components/ui/menu/menu.css @@ -1,6 +1,5 @@ [data-reach-menu-popover] { - @apply origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-900 dark:ring-2 dark:ring-primary-700 focus:outline-none; - + @apply ltr:origin-top-right ltr:right-0 rtl:origin-top-left rtl:left-0 absolute mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-900 dark:ring-2 dark:ring-primary-700 focus:outline-none; z-index: 1003; }