Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing injection of Readium CSS's default stylesheet #171

Closed
mickael-menu opened this issue May 20, 2020 · 0 comments
Closed

Fixing injection of Readium CSS's default stylesheet #171

mickael-menu opened this issue May 20, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@mickael-menu
Copy link
Member

Readium CSS's default stylesheet is currently systematically injected, but Readium CSS states that it should only be injected when the publication doesn't have styles.

The following modules must be appended if there is no external stylesheet (<link>), internal stylesheet (<style>) or inline styles in the document (style=" "), in this exact order:

  1. ReadiumCSS-default.css

This causes faulty rendering in the EPUB navigator:

Screenshot 2020-05-20 at 14 23 46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant