Quote:
Originally Posted by GeoffR
That is the purpose of the body>div selector: the padding gets added to the outer <div>, so it doesn't need to be added again to the inner elements.
With synced kepubs the padding only ever gets added to an outer <div>, never to <p> or any other inner elements. With the sideloaded kepubs there is not always an outer <div>, so the body>p selector ensures it gets added to the <p> in that case.
With the earlier versions of the patch, the padding got applied both to the outer <div> and to the inner <p>, so there would be twice as much padding (or more, depending on how many outer <div> layers), which is why I think increasing the amount of padding in the latest version of the patch might be needed to get as much padding as was in the earlier versions.
|
You are right. I increase paddings to 0.2em and it works very well. Thanks!