Skip to content

Commit

Permalink
Refs #35004 -- Restored the direction of arrows in admin selector box…
Browse files Browse the repository at this point in the history
…es for RTL languages on mobile screens.

Regression in 57c1dd4.
  • Loading branch information
felixxm authored Dec 1, 2023
1 parent b925fef commit dafbed9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions django/contrib/admin/static/admin/css/responsive_rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,20 @@
[dir="rtl"] .aligned .vCheckboxLabel {
padding: 1px 5px 0 0;
}

[dir="rtl"] .selector-remove {
background-position: 0 0;
}

[dir="rtl"] .active.selector-remove:focus, .active.selector-remove:hover {
background-position: 0 -20px;
}

[dir="rtl"] .selector-add {
background-position: 0 -40px;
}

[dir="rtl"] .active.selector-add:focus, .active.selector-add:hover {
background-position: 0 -60px;
}
}

0 comments on commit dafbed9

Please sign in to comment.