Skip to content
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
@ghost

Description

As seen in the screenshot below, large images are clipped when rendered in two-column mode:

screen shot 2014-10-31 at 4 56 56 pm

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions