Skip to content

Support consistent-sized image picker images #8

@Alanaktion

Description

@Alanaktion

This is fairly easy, we could add something like this, which introduces a new 4:3 class for the main imagepicker element:

.imagecheck-4-3 {
    width: 100%;
    .imagecheck-figure {
        padding-bottom: 75%;
    }
    .imagecheck-image {
        position: absolute;
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions