View Single Post
Old 07-01-2025, 04:21 PM   #81
Falkor
Connoisseur
Falkor began at the beginning.
 
Posts: 90
Karma: 10
Join Date: Dec 2024
Device: Tolino Shine 5
Quote:
Originally Posted by RbnJrg View Post
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>
No luck.

I hope this really is a bug and not meant to be a feature..
Attached Thumbnails
Click image for larger version

Name:	20-vh-attribute-in-svg.jpg
Views:	30
Size:	129.2 KB
ID:	216634  
Attached Files
File Type: epub svg-scaling-20vh-in-svg-attribute.epub (324.7 KB, 28 views)
Falkor is offline   Reply With Quote