Fix the style for alert and custom.