Skip to content
Snippets Groups Projects
Commit 6fdc6922 authored by Fahad Alduraibi's avatar Fahad Alduraibi
Browse files

Fix for image swipebox to show in RTL interface

swipebox has not built in support for RTL, and without this fix the images will display outside of the window range since it does the calculation for the window location assuming every thing is aligned left, and that is hard-coded in its javascript and cannot be overridden with css.

The easiest fix which is proposed here is to override the global RTL just for swipebox, and make it display in LTR to match its calculations. The problem however, is that the Next and Prev buttons are still in LTR direction which is the opposite of what users of RTL expect.

The other solution is to either replace swipebox with something that is RTL aware, or modify swipebox code to add RTL support.
parent a367fb6e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment