Skip to content

Feature Request: Add Setting for object-fit Cover vs. Contain #15

@jeremy-farrance

Description

@jeremy-farrance

The way SwiperJS is used it assumes photos, so the CSS (.app-sw... picture img) applies object-fit: cover. If you want to use logos or other types of images where cover doesn't make sense, the simple fix is object-fit: contain.

In the next version it would be an awesome setting to add at both the default, app/page/module levels.

The problem demonstrated with COVER

image

And fixed with CONTAIN

image

Metadata

Metadata

Assignees

No one assigned

    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