Fix alert styles

[Fixes #4238]