mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-05 16:36:19 +02:00
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:  
11 lines
149 B
CSS
11 lines
149 B
CSS
[dir="rtl"] .hljs,
|
|
[dir="rtl"] pre > code {
|
|
text-align: left;
|
|
}
|
|
[dir="rtl"] #cookieBar {
|
|
direction: ltr;
|
|
}
|
|
[dir="rtl"] svg {
|
|
direction: ltr;
|
|
}
|