Quote:
Originally Posted by Falkor
Right, I have to be able to change its size to make it work.
Setting the height for the SVG wrapper doesn't work either..
|
Well, indeed that Shine 5 has a bug regarding svg wrappers. Do this last thing (this should not be done, it is an extreme resource, since the way to reduce an SVG wrapper is through setting the height in the container block):
Code:
<div style="text-align: center; padding: 0pt; margin: 0pt; background: lightblue">
<svg style="border: 1px solid red; box-sizing: border-box"
xmlns="http://www.w3.org/2000/svg"
height="20vh"
preserveAspectRatio="xMidYMid meet"
version="1.1"
viewBox="0 0 960 1207"
width="100%"
xmlns:xlink="http://www.w3.org/1999/xlink">
<image width="960" height="1207" xlink:href="../Images/picture.jpg"/>
</svg>
</div>