Fixed some styling issues with chips and made them use the color property for the close button color.
This commit is contained in:
		
							
								
								
									
										7
									
								
								chip.js
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								chip.js
									
									
									
									
									
								
							| @@ -42,8 +42,11 @@ class Chip extends IgniteElement { | ||||
|             .child( | ||||
|                 new slot(this), | ||||
|                 new button() | ||||
|                     .class("btn ml-1 p-0") | ||||
|                     .child(`<i class="fad fa-times-circle" style="--fa-secondary-color: rgba(0,0,0,0.3); --fa-primary-color: rgba(0,0,0,0.5);"></i>`) | ||||
|                     .class("btn ml-2 p-0") | ||||
|                     .child(`<i class="fal fa-times"></i>`) | ||||
|                     .style("color", this.color) | ||||
|                     .style("line-height", "1") | ||||
|                     .style("border", "none") | ||||
|                     .onClick(() => this.onDelete()) | ||||
|             ); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user