View Single Post
Old 06-25-2025, 05:17 PM   #52
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,858
Karma: 8821117
Join Date: Mar 2013
Location: Rosario - Santa Fe - Argentina
Device: Kindle 4 NT
Quote:
Originally Posted by Falkor View Post
I found the error: I had SVG height set to 100vh in the style sheet (the svg still had 100% height as an attribute in the html file – apparently attributes don't have priority over CSS, unlike inline-styles)
No more problems with captions on on the picture – but I can still make them split in Books and ADE 4.5. Your test file as well.
You opened my epub in ADE, and I said that you should open it in Thorium and Calibre Viewer (because you had said that the code wouldn't look fine in those ereaders). Open my epub in those ereaders please (there it should look fine, as you could see in the screenshoot I posted). ADE 4.x DOESN'T HONOR the property "calc()", so it's neccesary to write special code to deal with ADE 4.x and captions (ADE 4.x is an issue, because it also lacks support for @supports and makes it a little harder to write alternative code).

Last edited by RbnJrg; 06-25-2025 at 05:29 PM.
RbnJrg is offline   Reply With Quote