You can target the Yahoo! Mail iOS app by using the @media yahoo and adding a max-width to the media query.
HTML
<style type="text/css">
@media screen yahoo and (max-width:480px){
{ /* Place your styles here */ }
}
</style>