![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2025
Device: calibre e-book viewer
|
Tiny text area & huge bottom margin
I'm on Ubuntu 24.04.2 and Calibre 8.4. All of my epubs display only a few lines of text, then the footers, with a huge bottom margin. The inspector shows this <div> element within body>div#view:
Code:
<div style="max-height: 100dvh; width: 100dvw; height: 100dvh; overflow: hidden; display: flex; align-items: stretch"> Within the div quoted above, if I change the height value from "100dvh" to anything else, like "500px", then it works, the text area enlarges to the 500px size. However, if I add a custom style in preferences like this, it has no effect: Code:
div#view>div{ max-height:500px !important; height:500px !important; } |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,260
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Are you using a distro calibre package? If so uninstall it and install the official calibre binaries and you will be fine.
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: May 2025
Device: calibre e-book viewer
|
And just like that, it's fixed. Thank you!!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Top-margin (bottom-margin?) for Kobo? | Notjohn | Sigil | 14 | 02-28-2015 06:43 AM |
Bottom margin & Conversion | Chris_Snow | Calibre | 8 | 10-29-2013 05:17 AM |
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; } | cybmole | Conversion | 15 | 02-12-2011 11:57 AM |
Is there a way to stop the faded text at the bottom & top in horizontal mode? | Sunspark | Sony Reader | 9 | 03-25-2010 03:36 PM |
calibre ignore margin-top and margin-bottom | bender | Calibre | 2 | 12-11-2009 06:58 AM |