I wanted to ask if there is a predefined class in ionic that makes a child of the content tag, use up all the available space (so that it completely fills up the content tag).
I want to embed an iframe and I am having trouble figuring out the correct CSS rules. I just cant really get the height property right. Help is appreciated
@tim thx that worked with the iframe. It doesnt work with a div though (which i luckily dont need), but i was always trying with a div (I thought it would behave the same as the iframe).
What is your final code @johndoe? I’ve been fooling around with the same problem except in my case, a directive inside the content container needs to gain full width & height (it’s a LeafletJS map).
Any tips on how to do this? Setting width and height on 100% seems to be working in the browser but it doesn’t on my iPhone running iOS 7
Like I said just setting width and height to 100% worked for me. But this only worked with the iframe not with a div for example. Since my knowledge of css is pretty basic, unfortunately I cant tell you why that is.
Thanks for the heads up but I’ve tried that already. It’s the same crap over and over again: in the browser (Chrome) it’s all working and when I compile and test it on an iOS device or emulator, the div doesn’t get any height and stops working.