Hi,
As to grid, do you mean CSS grid layout? I have tried to put the SVG element inside a div and configured grid layout, it works fine on my side:
#container {
display: -ms-grid;
-ms-grid-rows: 1fr 1fr;
-ms-grid-columns: 1fr 1fr;
height: 100%;
}
#svgElement {
-ms-grid-column: 2;
-ms-grid-row-span: 2;
}
If you do not mean grid layout, it would be better if you can provide more details, then we will try our best to provide further suggestions for you.
Best Regards,
Ming Xu.
Please mark the replies as answers if they help or unmark if not.
If you have any feedback about my replies, please contact
msdnmg@microsoft.com.
Microsoft One Code Framework