View Single Post
Old 07-01-2025, 04:06 PM   #80
RbnJrg
Wizard
RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.RbnJrg ought to be getting tired of karma fortunes by now.
 
Posts: 1,830
Karma: 8700631
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Falkor View Post
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>
RbnJrg is offline   Reply With Quote