Configuring Style System for Nested Components
Hello,
I have a component "Three Card Merchandising" that contains other components like "Merchandising Cards" like so:
<div class="cmp-threeCardMerchandising__cards">
<div class="cmp-threeCardMerchandising__merchandisingCard merchandisingCard" data-sly-resource="${'card-one' @ resourceType='corp-home/components/content/merchandisingCard'}"></div>
<div class="cmp-threeCardMerchandising__merchandisingCard merchandisingCard" data-sly-resource="${'card-two' @ resourceType='corp-home/components/content/merchandisingCard'}"></div>
<div class="cmp-threeCardMerchandising__merchandisingCard merchandisingCard" data-sly-resource="${'card-three' @ resourceType='corp-home/components/content/merchandisingCard'}"></div>
</div>
and have configured it to be a container component with "cq:isContainer" like so:

I have added this component to the structure of a template and configured a policy for one of the cards within the component to contains styles.
The style is showing up as expected on a page of this template type:

However the class is not being applied to the HTML when I select the option.
Is it possible to configure styles for nested components? If so, what changes can I make in order to get the style to apply as expected?
Thank you,
Francesca