After seeing a question on How to make svg RTL
I attempted to make my svg RTL using:
transform: translate(100%, 0) scale(-1, 1);
However, I noticed that when resizing my browser window, the transform
is not properly applied and the line origin shifts!
Here is an example showcasing this issue
To reproduce:
1- Change the window size (perhaps make it larger), observe how the line origin deviates from 0 0
2- Use inspect element on the line, uncheck and then check the "transform" in the CSS class, the element returns to its correct position
It is clear that the transform is not being applied correctly upon resizing.