I'm trying to make the container-fluid
and 2nd row
to stretch to the remaining height but I couldn't find a way to do it.
I have tried setting the align-items/align-self
to stretch
but didn't work either.
Below is my code structure:
<div class="container-fluid"> <!-- I want this container to stretch to the height of the parent -->
<div class="row">
<div class="col">
<h5>Header</h5>
</div>
</div>
<div class="row"> <!-- I want this row height to filled the remaining height -->
<widgets [widgets]="widgets" class="hing"></widgets>
<div class="col portlet-container portlet-dropzone"> <!-- if row is not the right to stretch the remaining height, this column also fine -->
<template row-host></template>
</div>
</div>
</div>
I'm using Bootstrap 4 A6. Could someone suggest me how to make the container and the row to stretch the remaining height?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…