mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-13 04:30:31 +02:00
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:  
This commit is contained in:
parent
0dfd087538
commit
7cec167840
@ -5,3 +5,6 @@
|
||||
[dir="rtl"] #cookieBar {
|
||||
direction: ltr;
|
||||
}
|
||||
[dir="rtl"] svg {
|
||||
direction: ltr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user