File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- < div id ="wrapper ">
1+ < div id ="hxPill ">
22 < slot > </ slot >
3- < button id ="dismiss " type ="button ">
3+ < button id ="hxDismiss " type ="button ">
44 < hx-icon type ="times "> </ hx-icon >
55 </ button >
66</ div >
Original file line number Diff line number Diff line change @@ -57,6 +57,6 @@ export class HXPillElement extends HXElement {
5757
5858 /** @private */
5959 get _btnDismiss ( ) {
60- return this . shadowRoot . getElementById ( 'dismiss ' ) ;
60+ return this . shadowRoot . getElementById ( 'hxDismiss ' ) ;
6161 }
6262}
Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ button {
88 padding : 0 ;
99}
1010
11- #wrapper {
11+ #hxPill {
1212 background-color : @gray-400 ;
1313 border-radius : 1em ;
1414 color : @gray-900 ;
1515 padding : 0 1rem ;
1616 white-space : nowrap ;
1717}
1818
19- #dismiss {
19+ #hxDismiss {
2020 color : @gray-600 ;
2121 display : none ;
2222 height : 1.5em ;
@@ -33,7 +33,7 @@ button {
3333}
3434
3535:host ([dismissable]) {
36- #dismiss {
36+ #hxDismiss {
3737 display : inline-block ;
3838 }
39- }
39+ }
You can’t perform that action at this time.
0 commit comments