Skip to content

Carousel extremely wide if it's inside a center-aligned block #26

Description

@zerocrates

Picking "Center" block alignment for a carousel block makes slick calculate an extremely wide width. This messes it up in lots of ways but the most obvious is that the next/previous arrows get pushed far offscreen.

This appears to be a known issue with Slick and being inside a flex container, which people have worked around with stuff like min-width: 0 or overflow: hidden... whether this is something this module should be applying/overriding or a core adjustment to the center alignment style, I'm not sure.

See https://forum.omeka.org/t/item-carousel-block-not-working-after-1-4-1-update/28850

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions