-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: cleaned alert component #54
base: next
Are you sure you want to change the base?
Conversation
<div [class]="getAlertClass()" [class.--is-handset]="isHandset()"> | ||
<mat-icon [class]="getIconClass()">{{ iconName() }}</mat-icon> | ||
<div class="message" [class.--is-handset]="isHandset()"> | ||
<div class="sdg-alert-container" [class]="getAlertClass()"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
C'est quoi le plus value pour ce tag container?
Si on est capable d'utiliser le host au lieu d'un tag en extra on est mieux d'utiliser le host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je crois qu'il est nécessaire pour appliquer la classe .--general
ou .--warning
(le background-color)
Nettoyage du composant, renommage des classes.