![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
|
Small cosmetic 'bug'
Hi,
By accident I stumbled over a little cosmetic bug in Marvin 2.1 on iPad In 2 column landscape mode the start of a section (i.e. start of next html file in epub) begins rendering about 10 pixels lower on the left page as subsequent 'left' pages. In itself not that big of a deal, apart from the first two pages of each section (html file) being a bit out of wack with regards to balance. see images |
![]() |
![]() |
![]() |
#2 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
I suspect it is related to a (known) issue of how WebKit "balances" columns. Could you email me at support to try and reproduce this? - hopefully, I'll be able to fix it.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 265
Karma: 724240
Join Date: Aug 2013
Device: KyBook
|
Quote:
![]() ![]() Indeed, now that I payed some more attention to this I see it affects just about every e-reader supporting multiple columns. As I suspected ![]() :first-child nicely takes care of that so no need to go waste time on this one ![]() ------------- EDIT: Come to think of it, webkit is not to blame. It's doing exactly what it was told to do. That's what you get when thinking in 'pages' too much. You tend to forget that an e-Reader is basically still a browser, so even if it is forced to display in more than one column, the first element (in this case either the body or a content container) at the top of a logical page is still only going to be :first-child when it is the first element (with regard to its parent element of course) in a single html file loaded from the e-book. Every next 'page' is just a view-port over the remaining part of the file. removing a top margin (if it has one) from the content container would likely have the same result. Last edited by At_Libitum; 09-27-2013 at 07:18 AM. |
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,215
Karma: 1836966
Join Date: Feb 2010
Location: Malta, Europe
Device: Marvin for iOS
|
You're welcome.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Small bug? Case-insensitive tags. | Arrghus | Calibre | 9 | 07-12-2011 01:03 AM |
Embedded font bug or CSS bug in ADE | JSWolf | ePub | 10 | 06-11-2011 02:34 PM |
Small html/css bug | twaits | Calibre | 5 | 01-12-2010 10:26 AM |
Cosmetic Error in 0.5.7 for Mac | thibaulthalpern | Calibre | 4 | 04-18-2009 10:11 PM |