title: How to apply css to text inside an ionic alert?
body: <p>I have an alert where I have some text and one ionicon and I want to change its color and adjust its size and position (center) and I created a css class tried to apply it but it doesn't work, even thought HTML seems to work, I used the <code>&lt;b&gt;</code> tag just fine.<br>
  My code:</p>
  
  <pre><code>async presentAlertError(data) {
      const alert = await this.alertController.create({
        header: 'Confirmation',
        message: '&lt;ion-icon name="close" class="custom-icon-notfound" &gt; &lt;/ion-icon&gt;'  + "Registration " + data.statusText,
        buttons: [
          {
            text: 'Cancel',
            role: 'cancel',
            cssClass: 'secondary',
            handler: (aux) =&gt; {
              console.log('Confirm Cancel: aux');
            }
          }, {
            text: 'Scan Next',
            handler: () =&gt; {
              this.scanCode();
              console.log('Confirm ');
            }
          }
        ]
      });
      await alert.present()
  </code></pre>
  
  <p>Should I do this in a different way?</p>