I would like to calculate the min-height of an element doing somening like that:
min-height: calc(50vh - height-of-other-element);
where height-of-other-element is height of a element that can be rendered or not using angular *ngIf.
How can I solve this problem?