bbox.height + (padding * 2);

                        svgCopy.setAttribute(
                            'viewBox',
                            `${bbox.x - padding} ${bbox.y - padding} ${width} ${height}`
                        );
                        svgCopy.setAttribute('width', width);
                        svgCopy.setAttribute('height', height);

                        const serializer = new XMLSerializer();
                        const svgStr = serializer.serializeToString(svgCopy);
            