fix css for landscape and portrait