View Single Post
Old 05-21-2016, 02:14 PM   #163
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by jackie_w View Post
When reading the 'minimal kepub' on the Kobo, it's not immediately obvious to me that anything is broken. Is that what you'd expect? Or maybe I've broken some options which I never use (e.g. annotations, reading stats, anything wi-fi related ...)?
There are a couple of things that are needed to fix problems that occur when reading KePubs in full-screen mode: (Edit: See this post for examples.)

1. The margin/padding for body needs to be set to zero, or else the viewport gets shifted off-centre.

2. Wrapper divs added inside body are needed as a place to add padding in order to avoid text being clipped at the edge of the viewport. (padding can't be added to body because of 1.)

Last edited by GeoffR; 05-21-2016 at 02:17 PM. Reason: link to examples
GeoffR is offline   Reply With Quote