File tree Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Expand file tree Collapse file tree 3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 1- :host {
2- background-color : inherit ;
3- color : inherit ;
4- display : inline-block ;
5- height : 1em ;
6- width : 1em ;
1+ @import (reference ) ' ./hx-icon' ;
72
8- /*
9- if the requested icon type is not valid (nothing injected),
10- make sure the element doesn't consume space on the page.
11- */
12- & :empty {
13- height : 0 ;
14- width : 0 ;
15- }
3+ :host {
4+ & :extend(hx- icon);
165}
176
187::slotted(svg ) {
Original file line number Diff line number Diff line change 1+ hx- icon {
2+ background-color : inherit ;
3+ color : inherit ;
4+ display : inline-block ;
5+ flex-shrink : 0 ;
6+ height : 1em ;
7+ width : 1em ;
8+ }
Original file line number Diff line number Diff line change 1919@import ' checkbox/checkbox' ;
2020@import ' code/code' ;
2121@import ' grid/grid' ;
22+ @import ' icon/hx-icon' ;
2223@import ' navigation/navigation' ;
2324@import ' reveal/reveal' ;
2425@import ' table/table' ;
You can’t perform that action at this time.
0 commit comments