-
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
Images split #267
Comments
We (as in BiblioLabs) have not found a way to fix the split image behavior across all browsers, all EPUBs, and all browser window sizes. I would be curious to hear about anyone who has looked into this recently and may have some ideas. |
You could try |
We had split cover images, and a fix that worked for us on I asked our designer why and how this works and she is not exactly sure, it was something she intuited and she hasn't had time to dig into the Readium code to figure out the mechanics. |
@johanpoirier Thanks ! The max-heigth: 100vh trick works great with an image on top of a page. |
Related: #138 |
Related: #88 |
Related: #144 |
Related: #64 |
By the way, if max-height:100vh does not work in every situation, max-height: 95vh seems to work everytime (on image at least) |
In the CSS box model, the |
Maybe using this multi column css directive on the image elements would work: |
Thanks @jccr |
Using auto layout with 2 columns, I have images split on each column, like this :
I've tried to edit the epub document and add CSS rules to the image (for example max-height: 100%), but that's not enough and the image is still split.
Is there a way to prevent such a behavior ?
Thanks !
The text was updated successfully, but these errors were encountered: