I have a popover on my Ionic App. Based on the phone I’m using, my app will adjust the position of the popover. Here is my CSS as it stands.
#filterPopover {
left: 25%;
top: 24%;
}
If I want it to work for say an iPhone 5, I’ll have to change it to
#filterPopover {
left: 25%;
top: 19%;
}
What’s the most elegant way to adjust the CSS for each phone type/screen resolution the user may use for my ionic app? Thanks!