Skip to content

Add height restriction option for EuiImage #1554

@flash1293

Description

@flash1293

The EuiImage component has the size parameter to set the width of an image, but it isn't possible to controll the height (or maximum height) which may come in handy if user supplied images with unkown aspect ratio are displayed using this component (e.g. elastic/kibana#30654)

Open for discussion how exactly this should look like.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions