Fix an issue where alert text was too long in landscape