Bootstrap-4: Wie man die Zeile stretch Verbleibende Höhe?

Ich versuche zu machen die container-fluid und 2. row zu Strecken, um die Verbleibende Höhe, aber ich konnte nicht einen Weg finden, es zu tun.

Ich habe versucht Einstellung der align-items/align-self zu stretch aber hat nicht funktioniert.

Unten ist mein code-Struktur:

<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>

Ich bin mit Bootstrap-4 A6. Könnte jemand mir empfehlen, wie die container und die Zeile stretch die Verbleibende Höhe?

InformationsquelleAutor user3130446 | 2017-02-13

Schreibe einen Kommentar