View Single Post
Old 10-17-2019, 08:04 PM   #35
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,803
Karma: 6000000
Join Date: Nov 2009
Device: many
A few questions.

Is it safe to assume every svg tag with both width and height attributes of "100%" and with an image tag child should be converted to "100vh" and "100vw".

Or should it be further restricted to when there is only 1 svg tag and it is the only child of the body tag or maybe the first grandchild of the body assuming a single div is being used like we do when adding Covers in Sigil.

Since the cover will fill the screen, having no other elements in the body make sense as a selection criteria.

Are there any other cases when this type of swap makes sense?

Thanks,

KevinH

ps why are we talking about this in the Calibre forum. I only found it by accident. Perhaps we should move these posts to Sigil. Can any moderator cross forums like that?



Quote:
Originally Posted by JSWolf View Post
is there any way to modify Sigil so it converts % to vh when it sends the code to be rendered? vh does not work with ADE 2.0.1 and whatever version Kobo uses. And if people put in vh to get it to render correctly with Sigil, it may not render correctly for whatever software if they forget to put it back to % before being done.
KevinH is offline   Reply With Quote