Skip to content

Fix #347#352

Merged
aerkalov merged 1 commit into
aerkalov:masterfrom
GreenCake3:fix-347-1
Nov 18, 2025
Merged

Fix #347#352
aerkalov merged 1 commit into
aerkalov:masterfrom
GreenCake3:fix-347-1

Conversation

@GreenCake3

Copy link
Copy Markdown
Contributor

In COVER_XML (epub.py).
Fix #347 by moving CSS from <style> in <head> to the inline style attribute of the <img> and replacing the CSS with Booktype's CSS (https://github.com/booktype/Booktype/blob/master/lib/booktype/convert/epub/cover.py).
In the output, only affects EPUB/cover.xhtml.

By moving style from `<style>` to the inline `style` attribute in COVER_XML
@aerkalov aerkalov merged commit dd11a98 into aerkalov:master Nov 18, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cover does not take full width/height on Kobo reader

2 participants