-
Notifications
You must be signed in to change notification settings - Fork 102
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
Chrome/Opera/Chromium-only bug (not Safari WebKit): cover image "fit" overflows in next column #144
Comments
Any update on this issue ? |
I've just spend the 3 last hours on this issue : The cover image doesn't scale up/down correctly because :
For my project, I came up with a quick fix in both readium-shared-js and readium-js :
I think this solution may break things but I had no time to test it thoroughly. I know we can do better but this is a start :-) |
@johanpoirier Thanks! |
Regarding the changes in |
Unfortunately, explicitly setting the The reason is that the |
Thanks for your feedback @danielweck. As I was saying in my first comment, this is not the perfect solution. By the way, I will probably have more time to work on the readium cloud reader in the beginning of next year. |
Thanks a lot @johanpoirier your contributions and/or experimentations are much welcome! :) |
We had this bug in an early version of Readium CSS since we had to find a way to support images with TL;DR: because of margin collapse, body’s margin was the first element’s ( As mentioned, setting an explicit Consequently, we ended up creating safeguards for media elements, with a Please note it’s You might want to get rid of this safeguard in scroll view though. I know I had some weird issues in EPUB files when using We’re also using There are polyfills available though:
|
Useful update, thanks @JayPanoz |
EPUB:
https://readiumfoundation.box.com/s/eruhof2djmz3mmj1qg3a
The text was updated successfully, but these errors were encountered: