View Single Post
Old 04-17-2023, 02:30 AM   #5
sHiN3
Member
sHiN3 began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Apr 2010
Device: Kindle Oasis 3, Boox Leaf, Kobo Libra 2
Quote:
Originally Posted by Frenzie View Post
I don't think you can do that in KOReader, but you could come close by setting something like (max-)height: 80vh on the image.
Thanks!!

I don't know this VW/VH unit before.

After deleting "width: 90%" from my previous CSS and replacing it with "height: 70vh," I got landscape images that fit to the width and portrait images that fit 70% of the screen, with adequate space for caption.

Best workaround at the moment!
sHiN3 is offline   Reply With Quote