diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-11-30 09:39:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-30 09:39:05 +0100 |
| commit | 57c1dd466ff0d41760049d6818e82be9d767c7da (patch) | |
| tree | a47466375f3a82b5a56047c8d6f9314889bb61d9 | |
| parent | 6ab0f8ae52ae63808071be90ac48b39d3c75bc98 (diff) | |
Fixed #35004 -- Corrected the direction of arrows in admin selector boxes for RTL languages on small screens.
Follow up to 12617fbd859b1244e91bcf182a2fdf356b388821.
| -rw-r--r-- | django/contrib/admin/static/admin/css/responsive_rtl.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/django/contrib/admin/static/admin/css/responsive_rtl.css b/django/contrib/admin/static/admin/css/responsive_rtl.css index 31dc8ff7db..08a6cd7038 100644 --- a/django/contrib/admin/static/admin/css/responsive_rtl.css +++ b/django/contrib/admin/static/admin/css/responsive_rtl.css @@ -58,6 +58,22 @@ padding-left: 0; padding-right: 16px; } + + [dir="rtl"] .selector-add { + background-position: 0 -80px; + } + + [dir="rtl"] .selector-remove { + background-position: 0 -120px; + } + + [dir="rtl"] .active.selector-add:focus, .active.selector-add:hover { + background-position: 0 -100px; + } + + [dir="rtl"] .active.selector-remove:focus, .active.selector-remove:hover { + background-position: 0 -140px; + } } /* MOBILE */ |
