How to Position an SVG Element?
Check the transform attribute of the SVG elements.
Check the transform attribute of the SVG elements.
In the pictures below, you see that the SVG tag occupies the whole view of the screen, however, the child <g>
tag sits at the upper left corner.
To fix this, change the transform attribute of the <g>
tag.
<!-- Before -->
<g class="rd3t-g rd3t-g-b8d8f06b-3d0a-4eb2-a447-f2279a82c7f5" transform="translate(0,0) scale(1)">
<!-- After -->
<g class="rd3t-g rd3t-g-b8d8f06b-3d0a-4eb2-a447-f2279a82c7f5" transform="translate(300,300) scale(1)">