Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Add style to an Ion-Alert

$
0
0

@bbrenes wrote:

Solution for Ionic v4
For so many time i was trying to push some cssStyle to the ion-alert and today was the day.
Normally i was trying to do this:
this

But after hour trying to make it works, i decide to change the exactly the css name of the alert and put the style in variables.scss.
In my case.
For header the class was: .alert-title.sc-ion-alert-md
For the non-selected options was: .alert-radio-label.sc-ion-alert-md
And For the selected option was: [aria-checked=true].sc-ion-alert-md .alert-radio-label.sc-ion-alert-md

Maybe is not the best way to made it, but works really good

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>