-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Continued work on "Support right-to-left languages" #1641
Commits on Sep 2, 2023
-
Replace phyiscal properties (top/bottom/left/right) with logical properties (start/end) that can be used in non-LTR contexts (e.g., content in Arabic or Hebrew). Based on the CSS Logical Properties and Values Level 1 specification, currently an Editor's Draft [1]. Referencing MDN, all major browsers except Internet Explorer support the margin, padding, and border properties. [1]: https://drafts.csswg.org/css-logical/ Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 73d4450 - Browse repository at this point
Copy the full SHA 73d4450View commit details -
Move sidebar, js classes from html to body element
This will be necessary for using CSS selectors on root attributes. Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1088066 - Browse repository at this point
Copy the full SHA 1088066View commit details -
Use CSS selectors to override properties for RTL
Fix behavior of some elements when displaying page in RTL. Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3a99899 - Browse repository at this point
Copy the full SHA 3a99899View commit details -
Add
text_direction
property in general book metadataText direction can selected in the config via the `text_direction` attribute in `book.toml`, or be derived from the book's language.
Configuration menu - View commit details
-
Copy full SHA for 819a108 - Browse repository at this point
Copy the full SHA 819a108View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7717b9d - Browse repository at this point
Copy the full SHA 7717b9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5e0c68c - Browse repository at this point
Copy the full SHA 5e0c68cView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 6be98e0 - Browse repository at this point
Copy the full SHA 6be98e0View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 8564a7f - Browse repository at this point
Copy the full SHA 8564a7fView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 4749f9d - Browse repository at this point
Copy the full SHA 4749f9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for db877b1 - Browse repository at this point
Copy the full SHA db877b1View commit details -
Remove text_drection_from_lang_code
The test above should cover this sufficiently.
Configuration menu - View commit details
-
Copy full SHA for 869fe2f - Browse repository at this point
Copy the full SHA 869fe2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b871676 - Browse repository at this point
Copy the full SHA b871676View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb272d1 - Browse repository at this point
Copy the full SHA fb272d1View commit details -
Make the arrow keys honor RTL.
At least to my understanding, the pages will flip in the opposite direction.
Configuration menu - View commit details
-
Copy full SHA for 802e7bf - Browse repository at this point
Copy the full SHA 802e7bfView commit details