I want to apply some CSS
styling for the mdTooltip attribute in a md-cell of a cdk table.
Something like this:
<ng-container cdkColumnDef="Content">
<md-header-cell *cdkHeaderCellDef md-sort-header> {{"Content" | translate}} </md-header-cell>
<md-cell *cdkCellDef="let row" class="content" mdTooltip="{{row['Content'] }}"> {{row['Content'] }} </md-cell>
</ng-container>
And in my css I did something like this
/deep/ .content[mdTooltip] {
white-space: pre-wrap;
}
But it is not working.
How can I fix this problem?
Appreciate the help.