Since ::ng-deep is on its way to being deprecated, it is recommended to steer clear of the accepted solution.
What did the trick for me was including an id in the stack view:
<clr-stack-view id="customized-column-stack-view">`
After that, in one of your global style sheets like styles.css
, insert the following:
#customized-column-stack-view .stack-block-label {
max-width: 10%;
flex-basis: 10%;
}
This change should be applied in a global style sheet, preferably the one with the highest specificity.
Credit goes to @youdz for the insights shared in the Github issue: Vmware Clarity - Accordion Component #250