Here is an example of ngStyle in action:
[ngStyle]="{'height': true ? '100vh' : null }"
However, it seems to not work when a calc function is used like this:
[ngStyle]="{'height': true ? 'calc(100vh-100px)' : null }"
I am puzzled by why this might be the case. Any insights?