Hello, If I declare the css in angular-cli.json works

"styles": [    
      "app/client/patient/search/components/resources/css/component-search
.css",
       "styles.css"

],

<https://lh3.googleusercontent.com/-6nlxRjV7oXk/WNOBiJcOuAI/AAAAAAAAC58/Cc-R2fGRDIUeZfP-yHdnxAiHPOa_Hj7rACLcB/s1600/1.png>



<https://lh3.googleusercontent.com/-Lb65T08AGP0/WNOBsKd2ARI/AAAAAAAAC6A/WT16Ai5T99MC8Cy00VnF9YSlcSJA5uPZACLcB/s1600/2.png>





But if I declare it in the component's styleurl
@Component({
    selector: 'hn-search',
    templateUrl: './resources/template/component-search.html',
    styleUrls: ['./resources/css/component-search.css']
})



<https://lh3.googleusercontent.com/-qkvV0BPxSO4/WNOCAEKJlmI/AAAAAAAAC6E/DyHMz45FcAElfTWGb4_HWuQiv9jp__SigCLcB/s1600/3.png>


<https://lh3.googleusercontent.com/-a3SQKqx0s2w/WNOCDBnBvtI/AAAAAAAAC6I/Q36zcbs0KNIKJnlFg-AgPWixeRwT5ev4wCLcB/s1600/4.png>



Is also loaded into the html but then does not work on the element.


Thanks



El jueves, 23 de marzo de 2017, 6:29:53 (UTC+1), Miroslav Zografski 
escribió:
>
> Please, provide codw sample of one of your components with style that dies 
> not apply. Together with its template.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to