class should be 'alert alert-success' or 'alert alert-error'. otherwise the notification becomes too small, because style doesn't apply to it.