7cec167840
Fix SVG renders in RTL contents ( #1454 )
...
Part of:
#671
#1433
## Issue:
When we render SVG tags in persian ( `<html dir="rtl" ...>`) make
confiliect:

originally: *[7.2 Arrays and for
Loops](https://google.github.io/comprehensive-rust/exercises/day-1/for-loops.html#arrays-and-for-loops )*

originally: *[16.2 Moved Strings in
Rust](https://google.github.io/comprehensive-rust/ownership/moved-strings-rust.html )*
## Proposed method:
as we talked in #1433 , again in there adding
```
[dir="rtl"] svg {
direction: ltr;
}
```
fix issue like:


2023-11-08 17:49:07 +03:30
8f42baf968
Fixture code and footer content tags in rtl content ( #1433 )
...
Part of #671
and #1413
In the code part of content which always is in english and must be
`text-align: left` but with `<html ... dir=rtl >` cuz conflict.
---------
Co-authored-by: Kaveh <hamidrkp@riseup.net >
2023-10-31 07:37:04 +01:00
42541fc401
Automatically format YAML, CSS, and JS files ( #1272 )
...
Initially, I also formatted the templates in `theme/`, but this triggers
https://github.com/prettier/prettier/issues/11834 . So I exclude them for
now.
---------
Co-authored-by: Ming-Ying Chung <mych@chromium.org >
2023-10-02 14:48:00 +09:00
cc0a78ed9a
Move CSS files into theme/
folder ( #1229 )
...
Hi all,
This PR fixes https://github.com/google/comprehensive-rust/issues/1226 :
* Moved CSS files to `theme/css`
* Moved speaker-notes.js to `theme/`
* Updated paths in book.toml
2023-09-21 11:00:27 +02:00