0

I know there are many threads about this but I tried everything from the other threads and it didn't work.

So I currently have this code right here:

<div class="container-fluid d-flex flex-column" style="height: 100vh;">
  <div class="row d-flex flex-column no-gutters">
    <app-top class="col"></app-top>

    <div class="row flex-row no-gutters" style="margin-top: 38px;">
      <app-left class="col flex-shrink-0"></app-left>

      <div class="col">
        <router-outlet></router-outlet>
      </div>

      <app-right class="col flex-shrink-0"></app-right>
    </div>
  </div>
</div>

The content isn't stretching how I would like it to. There is a Navbar at the top and then there should be three columns, with full height.

henk.io
  • 296
  • 1
  • 3
  • 15
Yassine Zeriouh
  • 480
  • 3
  • 10
  • 23

2 Answers2

1

Remove styles 100vh from the div and add bootstrap 4 class for 100% height

<div class="h-100"></div>
1

This Should Do It. Avoid using inline styles.

<div class="container-fluid h-100">

Similar answer Here: Bootstrap 4, how to make a col have a height of 100%?

henk.io
  • 296
  • 1
  • 3
  • 15