mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
bump crengine: better linebreaks at em-dash, fb2 fixes (#6521)
Includes: - (Upstream) LVBase64NodeStream: fix possible segfault - (Upstream) Fix getting encoding from HTML META tags - FB2: also look for cover in <src-title-info> - FB2: fix cover image colors - FB2: don't draw cover in scroll mode - TextLang: better linebreaks at em-dash (EN/ES/FR) - TextLang: increase _lb_props static array size FB2 footnotes style tweaks: avoid gap above first footnote, caused by the title bottom margin collapsing into it.
This commit is contained in:
2
base
2
base
Submodule base updated: a96cb1c555...65d3ee1e46
@@ -652,6 +652,8 @@ This is just an example, that will need to be adapted into a user style tweak.]]
|
||||
Show FB2 footnote text at the bottom of pages that contain links to them.]]),
|
||||
-- Restrict this to FB2 documents, even if we won't probably
|
||||
-- match in any other kind of document
|
||||
-- (Last selector avoids title bottom margin from collapsing
|
||||
-- into the first footnote by substituting it with padding.)
|
||||
css = [[
|
||||
body[name="notes"] section {
|
||||
-cr-only-if: fb2-document;
|
||||
@@ -661,6 +663,11 @@ body[name="notes"] section {
|
||||
body[name="notes"] > section {
|
||||
-cr-only-if: fb2-document;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
body[name="notes"] > title {
|
||||
-cr-only-if: fb2-document;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
]],
|
||||
},
|
||||
@@ -678,6 +685,11 @@ body[name="comments"] section {
|
||||
body[name="comments"] > section {
|
||||
-cr-only-if: fb2-document;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
body[name="comments"] > title {
|
||||
-cr-only-if: fb2-document;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0.5em;
|
||||
}
|
||||
]],
|
||||
separator = true,
|
||||
|
||||
Reference in New Issue
Block a user