The issue with SVG extra space persisting even after trying various fixes is driving me crazy. When inspecting the SVG, there seems to be a large blue space that is pushing everything else down. I have experimented with different solutions like setting height:auto;
, display: block;
, and adjusting the view box, but nothing seems to work.
I am unable to modify the size of the SVG outside of the media query. Despite being told that it is already inline, the excessive space it occupies suggests otherwise.
<svg version="1.1" style="display: block;" viewBox="0 0 800 800">
<defs>
<!-- The text path: see links above regarding coordinate system -->
<path d="M0, 200a200, 200 0 1, 0 400, 0a200, 200 0 1, 0 -400, 0" id="txt-path"></path>
</defs>
<text fill="black" font-size="45.5" font-family="moholregular">
<!-- This is the magic -->
<textPath startOffset="0" xlink:href="#txt-path">Try our all new baby name generator</textPath>
</text>
</svg>