This repository was archived by the owner on May 7, 2025. It is now read-only.
This repository was archived by the owner on May 7, 2025. It is now read-only.
Large images are clipped when rendered in two-column mode #138
Open

Description
As seen in the screenshot below, large images are clipped when rendered in two-column mode:
The screenshot is from the Readium Chrome app, but I see the same thing when using readium-shared-js in my own application.
To fix this issue, images should be sized such that their max width is equal to the width of the containing column. Setting max-width
is not sufficient in the presence of columns. Setting an appropriate width
in terms of pixels with height: auto;
would work, but it's not the most elegant solution.