Skip to content

ion-img set the height of the img #17843

@ghost

Description

Feature Request

Ionic version:

[x] 4.x

Describe the Feature Request

I have images, which are to big for the viewport and I like to set the height of a img inside the ion-img tag. Right now the image get cut off.

Describe Preferred Solution

Add css variable for the inner image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: replythe issue needs a response from the user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions