Fix CSS transition fallback for alerts