I am faced with a situation where I have a child component in the form of a spinner that I need to display in two different places, each with its own unique style. In order to achieve this, I have attempted the following approach:
my-loading-overlay ::ng-deep .loading:after {
top: 80px;
}
While this solution works perfectly fine for the first instance, I am now left wondering how can I modify the style for the second child component by changing the CSS property 'top' to '150px'?
Your help on this matter would be greatly appreciated. Thank you in advance.