Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RTL #4

Open
danialvosoughi opened this issue Jul 26, 2020 · 1 comment
Open

RTL #4

danialvosoughi opened this issue Jul 26, 2020 · 1 comment

Comments

@danialvosoughi
Copy link

how can i make flip direction right to left for Persian pdfs?

@l33d4n
Copy link

l33d4n commented Jul 31, 2020

@danialvosoughi RTL flip direction seems to be work by identifying the browser language. It works great with Hebrew.

You only need to add arrows positions for RTL languages:

[dir=rtl] .directions a.prev-button {
    right: 0;
    background: #f7f6f6 url(pics/alt-next.png) no-repeat center center;
    left: auto;
}

[dir=rtl] .directions a.next-button {
    right: auto;
    background: #f7f6f6 url(pics/alt-prev.png) no-repeat center center;
    left: 0;
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants