We've been working on extending the content to the full height of the screen, but no matter what we try, there's always some white space lingering at the bottom. Any suggestions on how to fix this issue?
section {
height: 100vh;
background-size: cover;
background: #FF512F;
/* fallback for old browsers */
background: -webkit-linear-gradient(to right, #FF512F, #DD2476);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #FF512F, #DD2476);
padding-top: 5%;
/* New code */
overflow: hidden;
padding-top: 80px;
margin-top: -100px;
height: 150%;
}
.emp-profile {
padding: 10%;
border-radius: 0.5rem;
background: #fff;
margin-top: 80px;
margin-bottom: 80px
}
<section *ngIf="user" (onlineUsers)="online($event)">
<div class="container">
<div class="emp-profile justify-content-center">
... ...
</div>
</div>
</section>
I'm unable to utilize the body tag since this is a separate Angular component that begins with the section element.
Any insights on how we can ensure that the section fills the entire screen height? Our setup involves Bootstrap 4 with Angular 6.