In my Bootstrap-Vue application, I have set up the following hierarchy:
<b-navbar.../>
<b-container >
<b-row align-v="center" style="min-height:100vh">
<b-col style="align-items:center">
<h1>404 Error</h1>
<p>The page you have requested does not exist.</p>
</b-col>
</b-row>
</b-container>
The <b-navbar .../>
element is designed to scale based on its content rather than having a fixed height.
I am looking for a solution that will automatically adjust the container's content to fill the remaining viewport space without the need to manually calculate the height of <b-navbar .../>
. This way, the 404 text will always be positioned in the center of the available space. Currently, when I expand the Navbar, the 404 text ends up moving beyond the lower edge of the viewport.