Scale image height based on screen size ionic

Hey! The main page of my app has a image and some text. I want the image to scale down on smaller devices so it all fits without scrolling, like this:

,

. I can’t this to work.

,as of now it just cuts off the bottom

width 100%; height: auto; in css does not work