CSS to work on SP Widget Angular ng-template

xiaix
Tera Guru

So I have an SP Widget, and have some CSS in the dedicated CSS area.

This widget also has an Angular ng-template.

The template can't see the CSS code.  Is this by design?

 

find_real_file.png

9 REPLIES 9

Raslani1
Kilo Expert

Hi,

The answer is no. It is not by design. The template inherits the parent's css, so if the css doesn't apply, you have to check elsewhere, maybe in the log if there's an error.

I have created a new widget and reproduced your stuff and all goes right, so...

 

 

regards

xiaix
Tera Guru

Here we are a year later and this is still an issue.  I have no errors or warning in the browser's console logs.

Ideas?

ChrisBurks
Mega Sage

Where and how is the template being pulled into view?

find_real_file.png

 

find_real_file.png